blockreq_supportedNetworks
Description
Returns all supported blockchain networks, including each network's slug, name, chain ID, and endpoint URL template. Useful for discovering available networks before creating endpoints.
Parameters
None
Returns
| Field | Type | Description |
|---|---|---|
networks | array | List of supported networks |
networks[].slug | string | Network slug for API use (e.g., ethereum) |
networks[].name | string | Human-readable name |
networks[].chainId | integer | EVM chain ID |
networks[].subdomain | string | Subdomain used in endpoint URLs |
networks[].httpsEndpoint | string | HTTPS endpoint URL template |
networks[].wssEndpoint | string | WSS endpoint URL template |
Request Example
{
"jsonrpc": "2.0",
"method": "blockreq_supportedNetworks",
"params": [],
"id": 1
}Response Example
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"networks": [
{
"slug": "ethereum",
"name": "Ethereum Mainnet",
"chainId": 1,
"subdomain": "ethereum-rpc",
"httpsEndpoint": "https://ethereum-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000",
"wssEndpoint": "wss://ethereum-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000"
},
{
"slug": "bsc",
"name": "BNB Smart Chain",
"chainId": 56,
"subdomain": "bsc-rpc",
"httpsEndpoint": "https://bsc-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000",
"wssEndpoint": "wss://bsc-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000"
}
]
}
}Code Examples
curl -X POST https://ethereum-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000 \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"blockreq_supportedNetworks","params":[],"id":1}'