## Documentation Index Fetch the complete documentation index at: https://docs.relay.link/llms.txt Use this file to discover all available pages before exploring further.
## Agent Instructions To quote bridges and swaps, look up chains and tokens, or track Relay transactions from an agent, use the Relay MCP server: npx -y @relayprotocol/relay-mcp. It is read-only and does not sign or broadcast transactions. Setup: https://docs.relay.link/resources/developing-with-ai.md For Relay Protocol's trust model, security architecture, and audits, see https://docs.relay.link/references/protocol/security.md. For address screening, see https://docs.relay.link/security/transaction-screening.md.Get Chains Liquidity
Returns solver liquidity balances per currency on a specified chain.
OpenAPI
openapi: 3.0.3
info:
title: Cross-chain solver
version: 1.0.0
servers:
- url: https://api.relay.link
description: Mainnet API
- url: https://api.testnets.relay.link
description: Testnet API
security: []
paths:
/chains/liquidity:
get:
parameters:
- schema:
type: number
in: query
name: chainId
required: true
- schema:
type: string
in: header
name: x-api-key
required: false
description: Optional API key for authentication and higher rate limits.
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
liquidity:
type: array
description: >-
Available solver balances per configured currency on the
requested chain.
items:
type: object
properties:
chainId:
type: number
currencyId:
type: string
symbol:
type: string
address:
type: string
decimals:
type: number
balance:
type: string
description: >-
Main EOA solver balance in the currency's smallest
unit (e.g. wei for ETH)
amountUsd:
type: string
description: Solver balance expressed in USD
This documentation is built and hosted on Mintlify, a developer documentation platform.