Skip to main content
GET
GoldRush SDK

Credit Cost

0.01 per item

Processing

Realtime
Estimate your monthly cost for this API using the Pricing Calculator.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form: Bearer <token>, where <token> is your GoldRush API Key.

Path Parameters

chainName
string
required

The chain name eg: eth-mainnet.

topicHash
string
required

The endpoint will return event logs that contain this topic hash.

Query Parameters

starting-block
integer

The first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest and latest.

ending-block
string

The last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest and latest.

secondary-topics
string

Additional topic hash(es) to filter on - padded & unpadded address fields are supported. Separate multiple topics with a comma.

page-size
integer

Number of items per page. Omitting this parameter defaults to 100.

page-number
integer

0-indexed page number to begin pagination.

Response

200 - application/json

Successful response

updated_at
string<date-time>

The timestamp when the response was generated. Useful to show data staleness to users.

chain_id
integer

The requested chain ID eg: 1.

chain_name
string

The requested chain name eg: eth-mainnet.

chain_tip_height
integer

The latest block height of the blockchain at the time this response was provided.

chain_tip_signed_at
string<date-time>

The timestamp of the latest signed block at the time this response was provided.

items
object[]

List of response items.

pagination
object

Pagination metadata.