UserOperationBase class abstract

Abstract base class representing a user operation.

Implementations of this class are expected to provide functionality for creating, updating, and hashing user operations.

Implementers

Constructors

UserOperationBase()

Properties

callData String
read-only
callGasLimit BigInt
read-only
hashCode int
The hash code for this object.
read-onlyinherited
initCode String
read-only
maxFeePerGas BigInt
read-only
maxPriorityFeePerGas BigInt
read-only
nonce BigInt
read-only
paymasterAndData String
read-only
preVerificationGas BigInt
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sender EthereumAddress
read-only
signature String
read-only
verificationGasLimit BigInt
read-only

Methods

hash(Chain chain) Uint8List
Hashes the user operation for the given chain.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts the user operation to a JSON-encoded string.
toMap() Map<String, dynamic>
Converts the user operation to a map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited