EthereumRequestFunctionCall constructor
EthereumRequestFunctionCall({
- required String contractAddress,
- required AbiFunctionFragment function,
- List? params,
- String? from,
- BlockTagOrNumber? blockNumber = BlockTagOrNumber.latest,
Implementation
EthereumRequestFunctionCall(
{required this.contractAddress,
required this.function,
List<dynamic>? params,
this.from,
super.blockNumber = BlockTagOrNumber.latest})
: raw =
BytesUtils.toHexString(function.encode(params ?? []), prefix: "0x");