Skip to content
Docs

Activity

Cursor pagination

Use the nextCursor value from each response to load older activity page by page.

Overview

When data.nextCursor is present, pass it as cursor on the next request. Stop when the cursor is absent.

  • Cursors are opaque strings of up to 1024 characters. Do not parse, build, or shorten them; URL-encode them in query strings.
  • A page may contain more items than limit. Do not use the item count to decide whether more pages exist; always follow nextCursor.

Deduplicate items by hash when you merge pages.

Request
curl -sS "https://blockchain.gray3.io/v1/activity?chainId=ethereum&address=0xYourAddress&cursor=CURSOR_FROM_PRIOR" \
  -H "X-Gray-Project-Id: proj_your_project_id" \
  -H "Authorization: Bearer gray_sk_your_secret"