estimateTxFee method

Future<String> estimateTxFee(
  1. String chainFrom,
  2. String txHex,
  3. String sender
)

Implementation

Future<String> estimateTxFee(
    String chainFrom, String txHex, String sender) async {
  assert(_runner != null, 'bridge not init');
  final String res = await _runner?.evalJavascript(
      'bridge.estimateTxFee("$chainFrom", "$txHex", "$sender")');
  return res;
}