transfer method
Future<Map<String, dynamic> >
transfer({
- required PolygonWallet signerWallet,
- required String contractAddress,
- required String to,
- required String amountHuman,
- bool waitForTx = true,
Implementation
Future<Map<String, dynamic>> transfer({
required PolygonWallet signerWallet,
required String contractAddress,
required String to,
required String amountHuman,
bool waitForTx = true,
}) {
return _postExecute(
signerWallet: signerWallet,
contractAddress: contractAddress,
func: 'transfer',
args: {
'to': to,
'value': _toBaseUnits6(amountHuman),
},
waitForTx: waitForTx,
);
}