Chains API
The recent ERC-4337 bundle transactions on a chain
The chain's account-abstraction bundle transactions, newest first, 50 per page: transaction, block, time, bundler and how many user operations each carried.
/api/external/chain-analysis/user-operation-bundles/{chain}What it returns
The account-abstraction (ERC-4337) bundle transactions on one chain, newest first, 50 per page: the transaction, its block and time, the bundler that submitted it and how many user operations it carried. The operations themselves are in the user-operations resource (which can also filter by bundler). Keep passing nextCursor back as cursor until it is null.
Chains
- Ethereum ETH
- Robinhood Chain RHC
- Optimism OP
- Scroll SCROLL
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-operation-bundles/ETH"
| Parameter | Description |
|---|---|
cursorquery · string · optional | An opaque cursor from a previous response's nextCursor, for the next page. It only pages the chain 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, ETH, OP and SCROLL 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 |
|---|---|---|
bundles | object[] | Newest block first. |
bundles[].transactionHash | string | The bundle transaction. |
bundles[].bundleIndex | integer | Which bundle of that transaction this is; 0 unless one transaction carried several. |
bundles[].blockNumber | integer | The block it ran in. |
bundles[].timestamp | integer | Unix seconds of that block. |
bundles[].bundler | string | The account that submitted the bundle. |
bundles[].totalOperations | integer | The user operations the bundle carried. |
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