eth_getUserOperationReceipt
Get UserOperation Receipt
This endpoint returns a UserOperation receipt based on a hash (userOpHash) returned by eth_sendUserOperation
Parameters
Body
Param
Type
Description
Required
method
string
Name of method in this case: eth_getUserOperationReceipt
Required
params
array
AnAn array consisting of the userop hash returned by eth_sendUserOperation
Required
id
string
id for request determined by client for JSON RPC requests
Required
jsonrpc
string
JSON RPC version in this case 2.0.0
Required
Request
Request Type: POST
{
"method": "eth_getUserOperationReceipt",
"params": [
"0x205bdbbad1e253fdb0e55f7e3e54ef12c80f485b02207b09448f75a851c6575b"
],
"id": 47,
"jsonrpc": "2.0"
}
Response
null
in case the UserOperation is not yet included in a block
{
"jsonrpc": "2.0",
"id": 47,
"result": {
"userOpHash": "0x205bdbbad1e253fdb0e55f7e3e54ef12c80f485b02207b09448f75a851c6575b",
"sender": "0x1EcC38166BCB30eBF86d548d83dcE0C14c1a33db",
"nonce": "0xc",
"actualGasCost": "0xdc0822b2eb000",
"actualGasUsed": "0x17a03",
"success": true,
"logs": [
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001ecc38166bcb30ebf86d548d83dce0c14c1a33db",
"0x0000000000000000000000005ff137d4b0fdcd49dca30c7cf57e578a026d2789"
],
"data": "0x000000000000000000000000000000000000000000000000000ecb64bfdc408000000000000000000000000000000000000000000000000000fce9ce8418f47f0000000000000000000000000000000000000000000006988ff28d596e17c8ee00000000000000000000000000000000000000000000000000ee1e69c43cb3ff000000000000000000000000000000000000000000000698900158be2df4096e",
"logIndex": "0x0",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"topics": [
"0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4",
"0x0000000000000000000000001ecc38166bcb30ebf86d548d83dce0c14c1a33db"
],
"data": "0x0000000000000000000000000000000000000000000000000012bb2ef8ed9000",
"logIndex": "0x1",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"topics": [
"0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972"
],
"data": "0x",
"logIndex": "0x2",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001ecc38166bcb30ebf86d548d83dce0c14c1a33db",
"0x000000000000000000000000cd7c976c47f0de6a19de540e473e85894bf9c9b4"
],
"data": "0x000000000000000000000000000000000000000000000000000009184e72a00000000000000000000000000000000000000000000000000000ee1e69c43cb3ff00000000000000000000000000000000000000000000000501a3b93df12715f200000000000000000000000000000000000000000000000000ee155175ca13ff00000000000000000000000000000000000000000000000501a3c2563f99b5f2",
"logIndex": "0x3",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
}
],
"receipt": {
"to": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"from": "0x0266c5192fF26CDA6697e0F86Bd42c002Ee68C8E",
"contractAddress": null,
"transactionIndex": "0x0",
"gasUsed": "0x18153",
"logsBloom": "0x000000000000000000000000000000000000000000000000000000800000000000080000000000000002001100000000001080000000000000000200004000000000000000000000000100000000008000000000000000000001000010002000000000000a0000000000000000000800000004000400004080800000000200000000000000000000000000000000000000000000000000000000000000000000200000000000000000400000000400000000000000000000000002000000004002000000000040000001000000000020000000000000800000108000000020000040000000000001000000000000008000000008000010000000000000100800",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"logs": [
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001ecc38166bcb30ebf86d548d83dce0c14c1a33db",
"0x0000000000000000000000005ff137d4b0fdcd49dca30c7cf57e578a026d2789"
],
"data": "0x000000000000000000000000000000000000000000000000000ecb64bfdc408000000000000000000000000000000000000000000000000000fce9ce8418f47f0000000000000000000000000000000000000000000006988ff28d596e17c8ee00000000000000000000000000000000000000000000000000ee1e69c43cb3ff000000000000000000000000000000000000000000000698900158be2df4096e",
"logIndex": "0x0",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"topics": [
"0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4",
"0x0000000000000000000000001ecc38166bcb30ebf86d548d83dce0c14c1a33db"
],
"data": "0x0000000000000000000000000000000000000000000000000012bb2ef8ed9000",
"logIndex": "0x1",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"topics": [
"0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972"
],
"data": "0x",
"logIndex": "0x2",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000001ecc38166bcb30ebf86d548d83dce0c14c1a33db",
"0x000000000000000000000000cd7c976c47f0de6a19de540e473e85894bf9c9b4"
],
"data": "0x000000000000000000000000000000000000000000000000000009184e72a00000000000000000000000000000000000000000000000000000ee1e69c43cb3ff00000000000000000000000000000000000000000000000501a3b93df12715f200000000000000000000000000000000000000000000000000ee155175ca13ff00000000000000000000000000000000000000000000000501a3c2563f99b5f2",
"logIndex": "0x3",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"topics": [
"0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f",
"0x205bdbbad1e253fdb0e55f7e3e54ef12c80f485b02207b09448f75a851c6575b",
"0x0000000000000000000000001ecc38166bcb30ebf86d548d83dce0c14c1a33db",
"0x0000000000000000000000000000000000000000000000000000000000000000"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000dc0822b2eb0000000000000000000000000000000000000000000000000000000000000017a03",
"logIndex": "0x4",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000005ff137d4b0fdcd49dca30c7cf57e578a026d2789",
"0x0000000000000000000000000266c5192ff26cda6697e0f86bd42c002ee68c8e"
],
"data": "0x000000000000000000000000000000000000000000000000000dc0822b2eb000000000000000000000000000000000000000000000000698900158be2df4096e0000000000000000000000000000000000000000000000001371210ac47977990000000000000000000000000000000000000000000006988ff3983c02c5596e000000000000000000000000000000000000000000000000137ee18cefa82799",
"logIndex": "0x5",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
},
{
"transactionIndex": "0x0",
"blockNumber": "0xbddb8c",
"transactionHash": "0x94f4421908f84324d8aa39bc3f2b14d6a215aca8c2add77d4c09a223af944cf0",
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x0000000000000000000000000266c5192ff26cda6697e0f86bd42c002ee68c8e",
"0x0000000000000000000000004ad84f7014b7b44f723f284a85b1662337971439"
],
"data": "0x000000000000000000000000000000000000000000000000000e049c86e51c2300000000000000000000000000000000000000000000000013adfe815ac437990000000000000000000000000000000000000000000002d109f7965164442150000000000000000000000000000000000000000000000000139ff9e4d3df1b760000000000000000000000000000000000000000000002d10a059aedeb293d73",
"logIndex": "0x6",
"blockHash": "0x5f3c2a68cffce46cc1f5f512a4ce49adcea2da3c491edd60472f9952f46cb44b"
}
],
"blockNumber": "0xbddb8c",
"confirmations": "0x2",
"cumulativeGasUsed": "0x18153",
"effectiveGasPrice": "0x9502f9000",
"status": "0x1",
"type": "0x2",
"byzantium": true
}
}
}
Last updated