Typescript
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 } ] }
Commonly used to build internal status dashboards of all supported chains.
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