Last updated 1 month ago
This API returns a list of the blockchain networks supported by Hibit, providing a clear overview of the available chains for integration.
import { hibitClient } from '@delandlabs/hibit-client'; const options = { network: HibitNetwork.Testnet }; hibitClient.setOptions(options); const chains = await hibitClient.getChains();
Source code https://github.com/Deland-Labs/hibit-sdk
curl -L \ --url 'https://testnetopenapi.hibit.app/v1/chains'
{ "code": 1, "message": "text", "data": [ { "chainId": "text", "depositAddress": "text", "displayName": "text" } ] }