FAQs
General Use
How do you query an endpoint?
The API host for all requests is https://api.covalenthq.com/v1/
.
The endpoint path is appended to the API host (without repeating the /v1/
). For example, if the endpoint is GET /v1/{chain_id}/address/{address}/balances_v2/
, then an example of the full request URL is:
All GoldRush APIs are called using GET
requests (unless specified otherwise).
Each request must include your API_KEY
passed either in the request header (Basic Auth) or as a query parameter.
When should you authenticate using a query parameter instead of Basic Auth?
We recommend that you should always use Basic Auth over authenticating via query parameter when possible. Authentication via query parameter is otherwise offered for all endpoints.
This works well when embedding the API in applications like Google Sheets or as iFrames that don’t support more sophisticated auth methods.
For more details, see Authentication.
What is the chainName
?
The chainName
or chainID
is the unique integer identifier of an EVM-compatible blockchain. A global list of chain IDs can be found at: https://chainlist.org.
Note: the GoldRush APIs support both the global chainID
integer and a GoldRush specific chain name such as eth-mainnet
.
See the full list of supported chains and their corresponding name and ID.
Balances
What is a "dust"
token type in the balances_v2
response?
Token balances for a address that are less than $0.10 USD in quote
value are classified as dust
.
Transactions
How does you determine if an address is involved in a transaction?
An address is deemed to be involved in a transaction if it appears in any of the following:
- the
to
orfrom
fields - as a
sender
of an event log - in any of the topic fields (e.g.
topic1
,topic2
)