Queries

Contract events and transactions queries.

circle-info

New queries can be added on request. If you cannot find the appropriate query for what you need, ask on our Discord serverarrow-up-right.

Authentication

All queries require an authentication header. You’ll need to provide a JWT token, which will be given to users that have access to Mercury (get accessarrow-up-right).

Example Authentication Header

Include the JWT in the request header as follows:

Authorization: Bearer YOUR_JWT_TOKEN

Example Variables

Will be used in the doc examples

# common vars
BASE="https://mainnet.mercurydata.app/rest"    #change this if you're on testnet
AUTH="Bearer <your-jwt-here>"

Last updated