makeTransferTx method

Future<Transaction> makeTransferTx (Address from, Address to, BigInt amount, int gasPrice, int gasLimit, Address payer)

Implementation

Future<Transaction> makeTransferTx(Address from, Address to, BigInt amount,
    int gasPrice, int gasLimit, Address payer) async {
  var b = TxBuilder();
  var fn = 'transfer';
  return b.makeInvokeTx(fn, [from, to, amount], contract,
      gasPrice: gasPrice, gasLimit: gasLimit, payer: payer);
}