Skip to main content
GET
Get events
Pagination depends on the filter:
  • No filter, or contract: page with cursor. Omit it for the first page, then pass nextCursor or prevCursor from the response.
  • blockHash or txnHash: page with page and pageSize. The response includes lastPage.
contract can’t be combined with blockHash or txnHash.

Authorizations

x-api-key
string
header
required

API key for authentication. Get your key at https://voyager.online/plans

Query Parameters

page
integer
default:1

Page number. Only used with blockHash or txnHash; other lists page with cursor.

pageSize
integer
default:25

Number of items per page. Available options: 10, 25, 50, 100.

contract
string

Filter by contract address. Can't be combined with blockHash or txnHash (returns 400).

Pattern: ^(0x[0-9a-fA-F]{1,66})$
txnHash
string

Filter by transaction hash. Can't be combined with contract (returns 400).

Pattern: ^(0x[0-9a-fA-F]{1,66})$
blockHash
string

Filter by block hash. Can't be combined with contract (returns 400).

Pattern: ^(0x[0-9a-fA-F]+|pre_confirmed)$
cursor
string

Cursor from a previous response's nextCursor or prevCursor. Omit for the first page. Can't be combined with blockHash or txnHash.

blockStart
integer | null

First block to include (inclusive). For a single block, set blockStart and blockEnd to the same number. Can't be combined with blockHash or txnHash.

Required range: 0 <= x <= 2147483647
blockEnd
integer | null

Last block to include (inclusive). Can't be combined with blockHash or txnHash.

Required range: 0 <= x <= 2147483647
timestampFrom
integer | null

Earliest time to include (unix seconds, inclusive), converted to the matching block range. Can't be combined with blockHash, txnHash, or blockStart/blockEnd.

Required range: 0 <= x <= 2147483647
timestampTo
integer | null

Latest time to include (unix seconds, inclusive).

Required range: 0 <= x <= 2147483647

Response

Successfully retrieved events

items
object[]
required
nextCursor
string | null
required
prevCursor
string | null
required