Typescript
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": {} } ] }
Commonly used to build internal dashboards for all supported chains on Covalent.
Bearer authentication header of the form: Bearer <token>, where <token> is your GoldRush API Key.
Bearer <token>
<token>
Successful response
The response is of type object.
object