Utility
Get all chains
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
Bitcoin
Utility
Get all chains
Commonly used to build internal dashboards for all supported chains on Covalent.
GET
/
v1
/
chains
import { GoldRushClient } from "@covalenthq/client-sdk";
const ApiServices = async () => {
const client = new GoldRushClient("YOUR_API_KEY");
const resp = await client.BaseService.getAllChains({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,
"db_schema_name": "<string>",
"label": "<string>",
"category_label": "<string>",
"logo_url": "<string>",
"black_logo_url": "<string>",
"white_logo_url": "<string>",
"color_theme": {
"red": 123,
"green": 123,
"blue": 123,
"alpha": 123,
"hex": "<string>",
"css_rgb": "<string>"
},
"is_appchain": true,
"appchain_of": {}
}
]
}
Credit Cost
0.01 per call
Processing
Realtime
Authorizations
Bearer authentication header of the form: Bearer <token>
, where <token>
is your GoldRush API Key.
Response
200 - application/json
Successful response
The response is of type object
.
import { GoldRushClient } from "@covalenthq/client-sdk";
const ApiServices = async () => {
const client = new GoldRushClient("YOUR_API_KEY");
const resp = await client.BaseService.getAllChains({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,
"db_schema_name": "<string>",
"label": "<string>",
"category_label": "<string>",
"logo_url": "<string>",
"black_logo_url": "<string>",
"white_logo_url": "<string>",
"color_theme": {
"red": 123,
"green": 123,
"blue": 123,
"alpha": 123,
"hex": "<string>",
"css_rgb": "<string>"
},
"is_appchain": true,
"appchain_of": {}
}
]
}