transfer method
- required String sender,
- required String to,
- required BigInt value,
- required Uint8List seed,
- EvmFeeInformation<
EvmGasPrice> ? feeInfo, - List<
AccessListItem> ? accessList,
Implementation
Future<String> transfer({
required String sender,
required String to,
required BigInt value,
required Uint8List seed,
EvmFeeInformation? feeInfo,
List<AccessListItem>? accessList,
}) async {
final function = abi.functions[7];
assert(function.functionSelectorHex == "a9059cbb");
return await interact(
function: function.addValues(values: [to, value]),
seed: seed,
sender: sender,
feeInfo: feeInfo,
accessList: accessList,
);
}