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.

GET/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"
Parameters
ParameterDescription
sender

query · string · optional

Only this smart account's operations: 0x followed by 40 hexadecimal characters. Cannot be combined with bundler (400).
bundler

query · string · optional

Only the operations this bundler submitted: 0x followed by 40 hexadecimal characters. Cannot be combined with sender (400).
cursor

query · 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).
chain

path · 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.

Response fields of The recent ERC-4337 user operations on a chain
FieldTypeDescription
senderstring | nullThe smart-account filter, lowercase; null when not filtered by one.
bundlerstring | nullThe bundler filter, lowercase; null when not filtered by one.
operationsobject[]Newest block first. [] when nothing matched.
operations[].hashstringThe user operation hash.
operations[].senderstringThe smart account that sent it.
operations[].entryPointstringThe ERC-4337 entry point contract it went through.
operations[].entryPointVersionstring | nullThe entry point version, e.g. "v0.8"; null when not known.
operations[].transactionHashstringThe bundle transaction it ran in.
operations[].blockNumberintegerThe block it ran in.
operations[].timestampintegerUnix seconds of that block.
operations[].successbooleanWhether the operation's own execution succeeded.
operations[].feeWeistring | nullWhat it paid, in wei of the chain's native coin, as a decimal string. "0" is a real zero; null when not known.
nextCursorstring | nullPass 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