getTxParams method

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

Implementation

Future<Map> getTxParams(String from, String to, String token, String address,
    String amount, int decimals, String signer) async {
  assert(_runner != null, 'bridge not init');
  final Map res = await _runner?.evalJavascript(
      'bridge.getTxParams("$from", "$to", "$token", "$address", "$amount", $decimals, "$signer")');
  return res;
}