API Reference
Get Chains
This API returns all possible chains available.
GET
/
chains
curl --request GET \
--url https://api.relay.link/chains
{
"chains": [
{
"id": 123,
"name": "<string>",
"displayName": "<string>",
"httpRpcUrl": "<string>",
"wsRpcUrl": "<string>",
"explorerUrl": "<string>",
"explorerName": "<string>",
"explorerPaths": {
"transaction": "<string>"
},
"depositEnabled": true,
"tokenSupport": "All",
"disabled": true,
"partialDisableLimit": 123,
"blockProductionLagging": true,
"currency": {
"id": "<string>",
"symbol": "<string>",
"name": "<string>",
"address": "<string>",
"decimals": 123,
"supportsBridging": true
},
"withdrawalFee": 123,
"depositFee": 123,
"surgeEnabled": true,
"featuredTokens": [
{
"id": "<string>",
"symbol": "<string>",
"name": "<string>",
"address": "<string>",
"decimals": 123,
"supportsBridging": true,
"metadata": {
"logoURI": "<string>"
}
}
],
"erc20Currencies": [
{
"id": "<string>",
"symbol": "<string>",
"name": "<string>",
"address": "<string>",
"decimals": 123,
"supportsBridging": true,
"supportsPermit": true,
"withdrawalFee": 123,
"depositFee": 123,
"surgeEnabled": true
}
],
"iconUrl": "<string>",
"logoUrl": "<string>",
"brandColor": "<string>",
"contracts": {
"multicall3": "<string>",
"multicaller": "<string>",
"onlyOwnerMulticaller": "<string>",
"relayReceiver": "<string>",
"erc20Router": "<string>",
"approvalProxy": "<string>"
},
"vmType": "bvm",
"explorerQueryParams": {},
"baseChainId": 123,
"statusMessage": "<string>",
"tags": [
"<string>"
]
}
]
}
Query Parameters
Response
200 - application/json
Default Response
The response is of type object
.
curl --request GET \
--url https://api.relay.link/chains
{
"chains": [
{
"id": 123,
"name": "<string>",
"displayName": "<string>",
"httpRpcUrl": "<string>",
"wsRpcUrl": "<string>",
"explorerUrl": "<string>",
"explorerName": "<string>",
"explorerPaths": {
"transaction": "<string>"
},
"depositEnabled": true,
"tokenSupport": "All",
"disabled": true,
"partialDisableLimit": 123,
"blockProductionLagging": true,
"currency": {
"id": "<string>",
"symbol": "<string>",
"name": "<string>",
"address": "<string>",
"decimals": 123,
"supportsBridging": true
},
"withdrawalFee": 123,
"depositFee": 123,
"surgeEnabled": true,
"featuredTokens": [
{
"id": "<string>",
"symbol": "<string>",
"name": "<string>",
"address": "<string>",
"decimals": 123,
"supportsBridging": true,
"metadata": {
"logoURI": "<string>"
}
}
],
"erc20Currencies": [
{
"id": "<string>",
"symbol": "<string>",
"name": "<string>",
"address": "<string>",
"decimals": 123,
"supportsBridging": true,
"supportsPermit": true,
"withdrawalFee": 123,
"depositFee": 123,
"surgeEnabled": true
}
],
"iconUrl": "<string>",
"logoUrl": "<string>",
"brandColor": "<string>",
"contracts": {
"multicall3": "<string>",
"multicaller": "<string>",
"onlyOwnerMulticaller": "<string>",
"relayReceiver": "<string>",
"erc20Router": "<string>",
"approvalProxy": "<string>"
},
"vmType": "bvm",
"explorerQueryParams": {},
"baseChainId": 123,
"statusMessage": "<string>",
"tags": [
"<string>"
]
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.