base
or base-sepolia
).eth_supportedEntryPoints
0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789
.
The API credit value of this method is 30.
eth_getUserOperationByHash
UserOperation
based on the hash returned from eth_sendUserOperation.
The API credit value of this method is 30.
Name | Type | Req | Description |
---|---|---|---|
hash | array | Y | The hash of the UserOperation to retrieve |
Type | Description |
---|---|
sender | Account initiating the UserOperation |
nonce | Nonce |
initCode | initCode (needed if the account needs to be created) |
preVerificationGas | Amount of gas to pay for to compensate the bundler for pre-verification execution and calldata |
maxFeePerGas | Maximum fee per gas to pay for the execution of this operation |
maxPriorityFeePerGas | Maximum priority fee per gas |
signature | Signature from the account |
verificationGasLimit | Amount of gas to allocate for the verification step |
callGasLimit | Amount of gas to allocate the main execution call |
paymasterAndData | Hex string signed by the paymaster for a sponsored transaction |
blockNumber | Block number in which UserOperation is included |
blockHash | Block hash in which UserOperation is included |
transactionHash | Transaction hash of the UserOperation |
eth_getUserOperationReceipt
Name | Type | Req | Description |
---|---|---|---|
hash | array | Y | The hash of the UserOperation to retrieve |
Type | Description |
---|---|
userOpHash | Hash of the UserOperation |
entryPoint | Entrypoint that the UserOperation was sent to |
sender | Account initiating the UserOperation |
nonce | Nonce |
paymaster | Paymaster used in the UserOperation |
actualGasCost | Actual gas consumed by this UserOperation |
actualGasUsed | Total gas used by this UserOperation |
success | Whether the execution completed successfully |
reason | If reverted, the reason the execution failed |
logs | Logs generated by this UserOperation (not including logs of other UserOperations in the same bundle) |
receipt | TransactionReceipt object for the entire bundle |
eth_sendUserOperation
UserOperation
for inclusion in the Bundler’s private mempool. The signature must be a valid signature from the smart account.
The API credit value of this method is 500.
Name | Type | Req | Description |
---|---|---|---|
UserOperation | UserOperation | Y | The UserOperation. You may add a paymasterAndData field if the transaction is sponsored. |
entryPoint | string | Y | EntryPoint address that the UserOperation is intended for. |
eth_estimateUserOperationGas
Name | Type | Req | Description |
---|---|---|---|
UserOperation | UserOperation | Y | The UserOperation. You can use a dummy signature but the signature must be the correct size for an accurate gas estimate. |
entryPoint | string | Y | EntryPoint address that the UserOperation is intended for. |
Type | Description |
---|---|
preVerificationGas | Amount of gas to compensate the bundler for pre-verification execution and calldata |
verificationGasLimit | Amount of gas to allocate for the verification step |
callGasLimit | Amount of gas to allocate the main execution call |
pm_getPaymasterStubData
pm_getPaymasterData
pm_sponsorUserOperation
pm_getAcceptedPaymentTokens
pm_getAddressSponsorshipInfo