BundlerProviderBase class abstract

Abstract base class representing a provider for interacting with an entrypoint.

Implementations of this class are expected to provide functionality for interacting specifically with bundlers and provides methods for sending user operations to an entrypoint.

Implementers

Constructors

BundlerProviderBase()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

estimateUserOperationGas(Map<String, dynamic> userOp, EthereumAddress entrypoint) Future<UserOperationGas>
Estimates the gas cost for a user operation.
getUserOperationByHash(String userOpHash) Future<UserOperationByHash>
Retrieves a user operation object associated with a userOpHash.
getUserOpReceipt(String userOpHash) Future<UserOperationReceipt>
Retrieves a user operation receipt associated with a userOpHash.
initializeWithEntrypoint(Entrypoint ep) → void
Initializes the provider with an entrypoint.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendUserOperation(Map<String, dynamic> userOp, EthereumAddress entrypoint) Future<UserOperationResponse>
Sends a user operation to the given network.
supportedEntryPoints() Future<List<String>>
Returns a list of supported entrypoints for the bundler.
toString() String
A string representation of this object.
inherited
wait({int millisecond}) Future<FilterEvent?>
Waits for a specified duration and returns a FilterEvent based on an event emitted by the smart contract.

Operators

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