getTxParams method

Future<BridgeTxParams> getTxParams(
  1. String from,
  2. String to,
  3. String token,
  4. String address,
  5. String amount,
  6. int decimals,
  7. String signer,
)

Implementation

Future<BridgeTxParams> getTxParams(String from, String to, String token,
    String address, String amount, int decimals, String signer) async {
  final res = await service.getTxParams(
      from, to, token, address, amount, decimals, signer);
  return BridgeTxParams.fromJson(Map<String, dynamic>.from(res));
}