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