type BundlerActions = object;Defined in: aa-sdk/core/src/client/decorators/bundlerClient.ts:53
estimateUserOperationGas<TEntryPointVersion>(
request,
entryPoint,
stateOverride?): Promise<UserOperationEstimateGasResponse<TEntryPointVersion>>;Defined in: aa-sdk/core/src/client/decorators/bundlerClient.ts:62
calls eth_estimateUserOperationGas and returns the result
Type Parameters
| Type Parameter | Default type |
|---|---|
| keyof |
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| the UserOperationRequest to estimate gas for |
|
| the entry point address the op will be sent to |
| the state override to use for the estimation |
Returns
Promise<UserOperationEstimateGasResponse<TEntryPointVersion>>
the gas estimates for the given response
getSupportedEntryPoints(): Promise<`0x${string}`[]>;Defined in: aa-sdk/core/src/client/decorators/bundlerClient.ts:109
calls eth_supportedEntryPoints and returns the entry points the RPC supports
Returns
Promise<`0x${string}`[]>
- an array of the entrypoint addresses supported
getUserOperationByHash(hash): Promise<
| null
| UserOperationResponse<EntryPointVersion>>;Defined in: aa-sdk/core/src/client/decorators/bundlerClient.ts:90
calls eth_getUserOperationByHash and returns the UserOperationResponse
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| the hash of the UserOperation to fetch |
Returns
Promise<
| null
| UserOperationResponse<EntryPointVersion>>
- the user operation if found or null
getUserOperationReceipt(hash, tag?): Promise<null | UserOperationReceipt>;Defined in: aa-sdk/core/src/client/decorators/bundlerClient.ts:99
calls eth_getUserOperationReceipt and returns the UserOperationReceipt
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| the hash of the UserOperation to get the receipt for |
|
| if client want to get receipt for different block tag. |
Returns
Promise<null | UserOperationReceipt>
- a user operation receipt or null if not found
sendRawUserOperation<TEntryPointVersion>(request, entryPoint): Promise<`0x${string}`>;Defined in: aa-sdk/core/src/client/decorators/bundlerClient.ts:77
calls eth_sendUserOperation and returns the hash of the sent UserOperation
Type Parameters
| Type Parameter | Default type |
|---|---|
| keyof |
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| the UserOperationRequest to send |
|
| the entry point address the op will be sent to |
Returns
Promise<`0x${string}`>
the hash of the sent UserOperation