Chains API
The recent ERC-4337 user operations on a chain
The chain's account-abstraction user operations, newest first, 50 per page, optionally only one smart account's or one bundler's: hash, smart account, entry point, bundle transaction, fee and success.
/api/external/chain-analysis/user-operations/{chain}What it returns
The account-abstraction (ERC-4337) user operations that ran on one chain, newest first, 50 per page — all of them, or only one smart account's (sender) or one bundler's (bundler). Each row gives the operation hash, the smart account, the entry point, the bundle transaction and block, the fee and whether it succeeded; the bundler and paymaster of one operation are in the single-operation resource. Keep passing nextCursor back as cursor until it is null. An address that sent or bundled nothing gets an empty list.
Chains
- Robinhood Chain RHC
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/chain-analysis/user-operations/RHC"
| Parameter | Description |
|---|---|
senderquery · string · optional | Only this smart account's operations: 0x followed by 40 hexadecimal characters. Cannot be combined with bundler (400). |
bundlerquery · string · optional | Only the operations this bundler submitted: 0x followed by 40 hexadecimal characters. Cannot be combined with sender (400). |
cursorquery · string · optional | An opaque cursor from a previous response's nextCursor, for the next page. It only pages the chain and filter it was issued for; an empty one, or one over 512 characters, is a 400 (enforced after the API-key gate). |
chainpath · string · required | RHC only; every other chain returns 400. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
sender | string | null | The smart-account filter, lowercase; null when not filtered by one. |
bundler | string | null | The bundler filter, lowercase; null when not filtered by one. |
operations | object[] | Newest block first. [] when nothing matched. |
operations[].hash | string | The user operation hash. |
operations[].sender | string | The smart account that sent it. |
operations[].entryPoint | string | The ERC-4337 entry point contract it went through. |
operations[].entryPointVersion | string | null | The entry point version, e.g. "v0.8"; null when not known. |
operations[].transactionHash | string | The bundle transaction it ran in. |
operations[].blockNumber | integer | The block it ran in. |
operations[].timestamp | integer | Unix seconds of that block. |
operations[].success | boolean | Whether the operation's own execution succeeded. |
operations[].feeWei | string | null | What it paid, in wei of the chain's native coin, as a decimal string. "0" is a real zero; null when not known. |
nextCursor | string | null | Pass back as cursor for the next page. null on the last page. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key