Get Chains Liquidity - Relay
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \
--url https://api.relay.link/chains/liquidity
const options = {method: 'GET'};
fetch('https://api.relay.link/chains/liquidity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests
url = "https://api.relay.link/chains/liquidity"
response = requests.get(url)
print(response.text)
Response Structure
200
{
"liquidity": [
{
"chainId": 123,
"currencyId": "<string>",
"symbol": "<string>",
"address": "<string>",
"decimals": 123,
"balance": "<string>",
"amountUsd": "<string>"
}
]
}
Headers
x-api-key
- Type: string
- Optional API key for authentication and higher rate limits.
Query Parameters
chainId
- Type: number
- Required
Response
200 - application/json
Default Responseliquidity: object[]
Solver balances per currency on the requested chain