eth_getUserOperationReceipt

eth_getUserOperationReceipt

post

Returns a UserOperationReceipt given a userOpHash.

Path parameters
chainIdnumberRequired

Target network chain identifier.

Query parameters
sponsorApiKeystringRequired

1Balance API key which covers transaction costs.

Body
idnumberOptional
jsonrpcstringOptionalDefault: 2.0
methodstringOptionalDefault: eth_getUserOperationReceipt
paramsstring[] · min: 1 · max: 1Optional

The userOpHash of the UserOperation (as returned by eth_sendUserOperation)

Responses
post
POST /bundlers/{chainId}/rpc HTTP/1.1
Host: api.gelato.digital
Content-Type: application/json
Accept: */*
Content-Length: 59

{
  "id": 1,
  "jsonrpc": "text",
  "method": "text",
  "params": [
    "text"
  ]
}
{
  "id": 1,
  "jsonrpc": "text",
  "result": {
    "userOpHash": "text",
    "entryPoint": "text",
    "sender": "text",
    "nonce": "text",
    "paymaster": "text",
    "actualGasCost": "text",
    "actualGasUsed": "text",
    "success": true,
    "reason": "text",
    "logs": [
      {
        "address": "text",
        "topics": [
          "text"
        ],
        "data": "text",
        "blockNumber": "text",
        "transactionHash": "text",
        "transactionIndex": "text",
        "blockHash": "text",
        "logIndex": "text",
        "removed": true
      }
    ],
    "receipt": {
      "blockHash": "text",
      "blockNumber": "text",
      "from": "text",
      "to": "text",
      "cumulativeGasUsed": "text",
      "gasUsed": "text",
      "contractAddress": "text",
      "logs": [
        {
          "address": "text",
          "topics": [
            "text"
          ],
          "data": "text",
          "blockNumber": "text",
          "transactionHash": "text",
          "transactionIndex": "text",
          "blockHash": "text",
          "logIndex": "text",
          "removed": true
        }
      ],
      "logsBloom": "text",
      "status": 1,
      "type": "text",
      "transactionHash": "text",
      "transactionIndex": "text",
      "effectiveGasPrice": "text"
    }
  }
}

Last updated