eth_getUserOperationReceipt

Returns the receipt associated with a given userOpHash.

Request

{
    "jsonrpc": "2.0",
    "method": "eth_getUserOperationReceipt",
    "params": ["0x23852fe813cf76730a0423a81699d626359a6f2971528404495b0d0a737c3786"],
    "id": 1
}    

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
        "userOpHash": "0x23852fe813cf76730a0423a81699d626359a6f2971528404495b0d0a737c3786",
        "sender": "0x7C6EdFcdEc67c0D39AB28D77AA6933fd7Bd385AB",
        "nonce": "0x0",
        "actualGasUsed": "0x7f550",
        "actualGasCost": "0x4b3b147f788710",
        "success": true,
        "logs": [
            // ...
        ],
        "receipt": {
                "transactionHash": "0x9f2a1d30b5a5473b009b87f87b3c6e832ea88c3d7a7cdbf2d7e4e5c8c6a4e7b1",
                "transactionIndex": "0x1b",
                "blockHash": "0xf5f4d8cfe5092ad9be67c3e94a2dfb08a9c17b3fa6c2e7f2280d42f9d6d7e101",
                "blockNumber": "0x45cd80f",
                "from": "0x72948d84A3Cfc7B76D3BD7677dE973d02Fdfc239",
                "to": "0x6AA237E4b1FCDF59EbB40d8EF67E689b037e378a",
                "cumulativeGasUsed": "0x5829d4",
                "gasUsed": "0x8bf6b",
                "contractAddress": null,
                "logs": [
                    // ...
                ],
                "logsBloom": "0x0200080010000400000000800000000000000800000000000000200000080000001000000020000004250832000000000821000000000000400004800000000010000000440020008000001000000500000800000000004000020000200000000000000014000000000000001001000000000008220008101000220504000000000000004000000000000000000000000000400000800000000000000480080400004000000000000800000000004000280000000000000000004400000008000000004000000000042000000000000000000000001000100210040000040000000100000000000000000000000000000000000000000000210000000204000",
                "status": "0x1",
                "effectiveGasPrice": "0x92c1a9f57"
        }
    }
}

Last updated