toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts the request parameters to a JSON format.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "ovk": ovk,
    "from_amount": fromAccount,
    "to_amount": toAmount,
    "transparent_to_address": transparentToAddress,
    "shielded_TRC20_contract_address": shieldedTRC20ContractAddress,
    "ask": ask,
    "nsk": nsk
  };
}