sendTransaction abstract method
- EthereumAddress to,
- Uint8List encodedFunctionData,
- {EtherAmount? amount}
Sends a transaction to the wallet contract.
to
: The address of the recipient.encodedFunctionData
: The calldata to send.amount
: The amount to send (optional).
Returns the UserOperationResponse
of the transaction.
Implementation
Future<UserOperationResponse> sendTransaction(
EthereumAddress to,
Uint8List encodedFunctionData, {
EtherAmount? amount,
});