Utility
Get all chain statuses
Cross Chain
Balances
Transactions
- GETGet a transaction
- GETGet transaction summary for address
- GETGet earliest transactions for address (v3)
- GETGet recent transactions for address (v3)
- GETGet paginated transactions for address (v3)
- GETGet bulk time bucket transactions for address (v3)
- GETGet all transactions in a block by page (v3)
- GETGet all transactions in a block (v3)
NFT
- Core Rendering
- Market Data
- Ownership & Token Gating
Bitcoin
Utility
Get all chain statuses
Commonly used to build internal status dashboards of all supported chains.
GET
/
v1
/
chains
/
status
import { GoldRushClient } from "@covalenthq/client-sdk";
const ApiServices = async () => {
const client = new GoldRushClient("YOUR_API_KEY");
const resp = await client.BaseService.getAllChainStatus({chainName: "chainName", walletAddress: "walletAddress"});
console.log(resp.data);
};
ApiServices();
{
"updated_at": "2023-11-07T05:31:56Z",
"items": [
{
"name": "<string>",
"chain_id": "<string>",
"is_testnet": true,
"logo_url": "<string>",
"black_logo_url": "<string>",
"white_logo_url": "<string>",
"is_appchain": true,
"synced_block_height": 123,
"synced_blocked_signed_at": "2023-11-07T05:31:56Z",
"has_data": true
}
]
}
Credit Cost: 1 per call.
Processing: Realtime
Processing: Realtime
Response
200 - application/json
Successful response
The timestamp when the response was generated. Useful to show data staleness to users.
List of response items.
The chain name eg: eth-mainnet
.
The requested chain ID eg: 1
.
True if the chain is a testnet.
A svg logo url for the chain.
A black png logo url for the chain.
A white png logo url for the chain.
True if the chain is an AppChain.
The height of the lastest block available.
The signed timestamp of lastest block available.
True if the chain has data and ready for querying.
import { GoldRushClient } from "@covalenthq/client-sdk";
const ApiServices = async () => {
const client = new GoldRushClient("YOUR_API_KEY");
const resp = await client.BaseService.getAllChainStatus({chainName: "chainName", walletAddress: "walletAddress"});
console.log(resp.data);
};
ApiServices();
{
"updated_at": "2023-11-07T05:31:56Z",
"items": [
{
"name": "<string>",
"chain_id": "<string>",
"is_testnet": true,
"logo_url": "<string>",
"black_logo_url": "<string>",
"white_logo_url": "<string>",
"is_appchain": true,
"synced_block_height": 123,
"synced_blocked_signed_at": "2023-11-07T05:31:56Z",
"has_data": true
}
]
}