curl --request GET \
--url https://api.hypermid.io/v1/chains \
--header 'X-API-Key: <api-key>'{
"data": {
"chains": [
{
"id": 1,
"name": "Ethereum",
"type": "EVM",
"nativeToken": {
"symbol": "ETH",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"priceUSD": "3250.00"
},
"blockExplorerUrl": "https://etherscan.io",
"rpcUrl": "https://eth.llamarpc.com"
},
{
"id": 42161,
"name": "Arbitrum",
"type": "EVM",
"nativeToken": {
"symbol": "ETH",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"priceUSD": "3250.00"
},
"blockExplorerUrl": "https://arbiscan.io",
"rpcUrl": "https://arb1.arbitrum.io/rpc"
},
{
"id": 900000001,
"name": "NEAR",
"type": "NEAR_INTENTS",
"nativeToken": {
"symbol": "NEAR",
"decimals": 24,
"address": "near",
"priceUSD": "5.20"
},
"blockExplorerUrl": "https://nearblocks.io"
}
]
},
"error": null,
"meta": {
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"timestamp": 1711234567,
"rateLimit": {
"limit": 2000,
"remaining": 1999,
"reset": 1711234627
}
}
}
List all supported blockchains
curl --request GET \
--url https://api.hypermid.io/v1/chains \
--header 'X-API-Key: <api-key>'{
"data": {
"chains": [
{
"id": 1,
"name": "Ethereum",
"type": "EVM",
"nativeToken": {
"symbol": "ETH",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"priceUSD": "3250.00"
},
"blockExplorerUrl": "https://etherscan.io",
"rpcUrl": "https://eth.llamarpc.com"
},
{
"id": 42161,
"name": "Arbitrum",
"type": "EVM",
"nativeToken": {
"symbol": "ETH",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"priceUSD": "3250.00"
},
"blockExplorerUrl": "https://arbiscan.io",
"rpcUrl": "https://arb1.arbitrum.io/rpc"
},
{
"id": 900000001,
"name": "NEAR",
"type": "NEAR_INTENTS",
"nativeToken": {
"symbol": "NEAR",
"decimals": 24,
"address": "near",
"priceUSD": "5.20"
},
"blockExplorerUrl": "https://nearblocks.io"
}
]
},
"error": null,
"meta": {
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"timestamp": 1711234567,
"rateLimit": {
"limit": 2000,
"remaining": 1999,
"reset": 1711234627
}
}
}
EVM, SVM, UTXO, NEAR_INTENTS.{
"data": {
"chains": [
{
"id": 1,
"name": "Ethereum",
"type": "EVM",
"nativeToken": {
"symbol": "ETH",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"priceUSD": "3250.00"
},
"blockExplorerUrl": "https://etherscan.io",
"rpcUrl": "https://eth.llamarpc.com"
},
{
"id": 42161,
"name": "Arbitrum",
"type": "EVM",
"nativeToken": {
"symbol": "ETH",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"priceUSD": "3250.00"
},
"blockExplorerUrl": "https://arbiscan.io",
"rpcUrl": "https://arb1.arbitrum.io/rpc"
},
{
"id": 900000001,
"name": "NEAR",
"type": "NEAR_INTENTS",
"nativeToken": {
"symbol": "NEAR",
"decimals": 24,
"address": "near",
"priceUSD": "5.20"
},
"blockExplorerUrl": "https://nearblocks.io"
}
]
},
"error": null,
"meta": {
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"timestamp": 1711234567,
"rateLimit": {
"limit": 2000,
"remaining": 1999,
"reset": 1711234627
}
}
}
const chains = await client.getChains();
// Filter for EVM chains only
const evmChains = chains.data.chains.filter(c => c.type === "EVM");
console.log(`Found ${evmChains.length} EVM chains`);