transferVtho method

Future<Map> transferVtho(
  1. Wallet wallet,
  2. String to, [
  3. BigInt? vthoInWei,
  4. Wallet? gasPayer,
])

Implementation

Future<Map> transferVtho(Wallet wallet, String to,
    [BigInt? vthoInWei, Wallet? gasPayer]) {
  vthoInWei ??= BigInt.zero;
  const vthoAdress = '0x0000000000000000000000000000456E65726779';
  Contract contract = Contract.fromJsonString(vthoAbi);
  return transact(wallet, contract, 'transfer', [to, vthoInWei], vthoAdress,
      gasPayer: gasPayer);
}