GET /api/explorer/v1/{chainSlug}/transactions

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/oklink/api/explorer/v1/{chainSlug}/transactionsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Transactions list (type=pending for pending txs)

Parameters

nameintypedescription
chainSlugpathstrrequired
example: eth
typequerystr
pending | common
optional
example: pending
limitqueryintoptionalPage size
default: 20
example: 5
offsetqueryintoptionalPage offset
default: 0
example: 0

Response

type: object
pagination: none
sample: {
  "code": "int",
  "data": "object",
  "detailMsg": "str",
  "msg": "str"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/oklink/api/explorer/v1/eth/transactions?type=pending&limit=5&offset=0"