How-To Guides
Bundler API Endpoints
Additional Resources
Bundler API Endpoints
eth_getUserOperationByHash
Returns a UserOperation
given a userOpHash
.
POST
/
bundlers
/
{chainId}
/
rpc
Copy
Ask AI
curl --request POST \
--url https://api.gelato.digital/bundlers/{chainId}/rpc \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getUserOperationByHash",
"params": [
"0xa501bf1cbb27adecb09aef8adb58ab5fe423be7975d5a4f687408525e4cabee9"
]
}'
Copy
Ask AI
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"userOperation": {
"sender": "0x023fEF87894773DF227587d9B29af8D17b4dBB5A",
"nonce": "0x1",
"initCode": "0x",
"callData": "0x51945447000000000000000000000000d2d3248f89fd11117496b3258db161a834dbfb0b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d09de08a00000000000000000000000000000000000000000000000000000000",
"signature": "0x00000000fca6490c2d85724bac088250a72fb7fb81a5a91234b1617d75d072c79d8d7db0123c1f0d9fe4708c864d89b7cca659f2554807f81339f6dcee2ba2e5ebe46b2c1b",
"paymasterAndData": "0x",
"callGasLimit": "0x358e",
"verificationGasLimit": "0x148a6",
"preVerificationGas": "0x0",
"maxFeePerGas": "0x0",
"maxPriorityFeePerGas": "0x5f5e100"
},
"entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"blockNumber": "0x27fb22e",
"transactionHash": "0x0f9b0e5868beaf345d8d55895c8037ae85adb91c422c00badcdcae8a0bf247a1"
}
}
Path Parameters
Target network chain identifier.
Query Parameters
1Balance API key which covers transaction costs.
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.gelato.digital/bundlers/{chainId}/rpc \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getUserOperationByHash",
"params": [
"0xa501bf1cbb27adecb09aef8adb58ab5fe423be7975d5a4f687408525e4cabee9"
]
}'
Copy
Ask AI
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"userOperation": {
"sender": "0x023fEF87894773DF227587d9B29af8D17b4dBB5A",
"nonce": "0x1",
"initCode": "0x",
"callData": "0x51945447000000000000000000000000d2d3248f89fd11117496b3258db161a834dbfb0b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d09de08a00000000000000000000000000000000000000000000000000000000",
"signature": "0x00000000fca6490c2d85724bac088250a72fb7fb81a5a91234b1617d75d072c79d8d7db0123c1f0d9fe4708c864d89b7cca659f2554807f81339f6dcee2ba2e5ebe46b2c1b",
"paymasterAndData": "0x",
"callGasLimit": "0x358e",
"verificationGasLimit": "0x148a6",
"preVerificationGas": "0x0",
"maxFeePerGas": "0x0",
"maxPriorityFeePerGas": "0x5f5e100"
},
"entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"blockNumber": "0x27fb22e",
"transactionHash": "0x0f9b0e5868beaf345d8d55895c8037ae85adb91c422c00badcdcae8a0bf247a1"
}
}
Assistant
Responses are generated using AI and may contain mistakes.