BundlerProvider class

Implemented types

Constructors

BundlerProvider(Chain chain, RPCProviderBase bundlerRpc)

Properties

entrypoint Entrypoint?
read / write
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.
override
getUserOperationByHash(String userOpHash) Future<UserOperationByHash>
Retrieves a user operation object associated with a userOpHash.
override
getUserOpReceipt(String userOpHash) Future<UserOperationReceipt>
Retrieves a user operation receipt associated with a userOpHash.
override
initializeWithEntrypoint(Entrypoint ep) → void
Initializes the provider with an entrypoint.
override
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.
override
supportedEntryPoints() Future<List<String>>
Returns a list of supported entrypoints for the bundler.
override
toString() String
A string representation of this object.
inherited
wait({int millisecond = 0}) Future<FilterEvent?>
Waits for a specified duration and returns a FilterEvent based on an event emitted by the smart contract.
override

Operators

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

Static Properties

methods Set<String>
final

Static Methods

validateBundlerMethod(String method) → dynamic