Skip to main content
GET
/
v1
/
w3s
/
buidl
/
userOps
/
{id}
Retrieve a user operation
curl --request GET \
  --url https://api.circle.com/v1/w3s/buidl/userOps/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "userOperation": {
      "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
      "refId": "custom_ref_id",
      "actualGasCost": "0.0015584763706281",
      "actualGasUsed": "182385",
      "blockDate": "2023-01-01T12:04:05Z",
      "blockHash": "0x2eb19fd02850ff963efefbaa71dbcd4acb41a9c261c4f8961979db1b56d48704",
      "blockHeight": 123456,
      "blockchain": "MATIC-AMOY",
      "errorReason": "FAILED_REPLACED",
      "revertReason": "<string>",
      "state": "COMPLETE",
      "to": "0x4b6c0b0078b63f881503e7fd3a9a1061065db242",
      "txHash": "0x4a25cc5e661d8504b59c5f38ba93f010e8518966f00e2ceda7955c4b8621357d",
      "userOpHash": "0x54d3cccda6ffa503bc1e554937fe67818b6ca1a5a05c7e66ebfa32bf27520152",
      "userOperation": {
        "callData": "<string>",
        "callGasLimit": "<string>",
        "factory": "<string>",
        "factoryData": "<string>",
        "initCode": "<string>",
        "maxFeePerGas": "<string>",
        "maxPriorityFeePerGas": "<string>",
        "nonce": "<string>",
        "paymaster": "<string>",
        "paymasterAndData": "<string>",
        "paymasterData": "<string>",
        "paymasterPostOpGasLimit": "<string>",
        "paymasterVerificationGasLimit": "<string>",
        "preVerificationGas": "<string>",
        "sender": "<string>",
        "signature": "<string>",
        "verificationGasLimit": "<string>"
      },
      "createDate": "2023-01-01T12:04:05Z",
      "updateDate": "2023-01-01T12:04:05Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.

Headers

X-Request-Id
string

Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.

Example:

"2adba88e-9d63-44bc-b975-9b6ae3440dde"

Path Parameters

id
string<uuid>
required

The universally unique identifier of the resource.

Example:

"b3d9d2d5-4c12-4946-a09d-953e82fae2b0"

Response

User operation retrieved successfully.

data
object
required