## 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 Config
Deprecated. Returns solver capacity data and user data. Retires on January 28, 2027 with no successor.
[!WARNING]GET /configandGET /config/v2are deprecated as of October 30, 2026 and retire with no successor on January 28, 2027. From December 14, 2026 their rate limits are reduced in stages. Use `GET /chains/liquidity` for solver liquidity per chain, and `POST /quote/v2` for the executable amount of a request.
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:
/config/v2:
get:
parameters:
- schema:
type: string
in: query
name: originChainId
required: true
- schema:
type: string
in: query
name: destinationChainId
required: true
- schema:
type: string
in: query
name: user
required: false
description: >-
User address, when supplied returns user balance and max bridge
amount
- schema:
type: string
enum:
- btc
- kbtc
- cirbtc
- cgt
- dai
- eth
- pop
- tg7
- tia
- usdc
- usdc.e
- usdt
- sol
- weth
- ape
- g7
- pengu
- plume
- plumeusd
- somi
- xpl
- usde
- mon
- musd
- usdm
- pyusd
- cash
- pusd
- bnb
- usdg
- pathusd
- ausd
- ousd
- usdc.e-cronos
in: query
name: currency
required: false
description: >-
Restricts the user balance and capacity to a particular currency
when supplied with a currency id. Defaults to the native currency of
the destination chain.
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
enabled:
type: boolean
user:
type: object
properties:
balance:
type: string
description: >-
Balance on the origin chain in the native or supplied
currency
maxBridgeAmount:
type: string
description: >-
Maximum amount that the user can bridge after fees in
the native or supplied currency
fee:
type: string
description: >-
Total fee in the native or supplied currency for the
bridge operation
solver:
type: object
properties:
address:
type: string
balance:
type: string
description: >-
Balance of the solver on the destination chain.
Denoted in wei
capacityPerRequest:
type: string
description: >-
How much of the given currency is available to be
bridged per bridge request. Denoted in wei
supportsExternalLiquidity:
type: boolean
deprecated: true
description: >-
Deprecated: canonical plus bridging has been removed, so
this is always false
deprecation:
type: object
additionalProperties: false
required:
- message
- deprecatedAt
- migrationGuide
properties:
message:
type: string
deprecatedAt:
type: string
throttledFrom:
type: string
sunsetAt:
type: string
successor:
type: string
migrationGuide:
type: string
'500':
description: Default Response
content:
application/json:
schema:
type: object
properties:
message:
type: string
code:
type: string
deprecated: true
This documentation is built and hosted on Mintlify, a developer documentation platform.