Skip to content
Docs

Activity

List activity

Paginated transaction history for one chain.

Endpoint

GET/v1/activity

Query

  • chainId, address (required)
  • cursor — the nextCursor from the previous page, passed back unchanged
  • relatedAddresses — Gram sibling merge
Request
curl -sS "https://blockchain.gray3.io/v1/activity?chainId=ethereum&address=0xYourAddress" \
  -H "X-Gray-Project-Id: proj_your_project_id" \
  -H "Authorization: Bearer gray_sk_your_secret"

Response

HTTP 200 — success envelope wraps the payload in data.

json
{
  "data": {
    "chainId": "ethereum",
    "address": "0xYourAddress",
    "items": [
      {
        "chainId": "ethereum",
        "hash": "0x…",
        "type": "transfer",
        "direction": "out",
        "from": "0xYourAddress",
        "to": "0x…",
        "value": "1000000000000000000",
        "rawAmount": "1000000000000000000",
        "decimals": 18,
        "symbol": "ETH",
        "fee": "2100000000000000",
        "timestamp": "2026-10-14T12:00:00.000Z",
        "status": "confirmed"
      }
    ],
    "nextCursor": "eyJ…",
    "source": "indexer"
  }
}

Errors

Errors use HTTP { "error": { "code", "message", "retryable" } }. Branch on code, not the message text.

Every authenticated route may also return unauthorized (401), revoked_secret (401), forbidden (403), credits_exhausted (402), plan_feature_denied (403), rate_limit_exceeded (429, retryable), and invalid_argument (413) for request bodies over 256 KiB.

CodeHTTPWhen
invalid_argument400Missing or malformed chainId, address, or body fields
plan_chain_denied403chainId is not on the project plan
chain_disabled403Chain turned off in Console › Networks
unsupported_capability400Capability not offered for this chain (e.g. testnet prices)
activity_unavailable503Activity indexer failed (retryable)
json
{
  "error": {
    "code": "invalid_argument",
    "message": "Human-readable detail (may be sanitized).",
    "retryable": false
  }
}