Relay
SupportGet in TouchTry Relay
Relay PlatformAPI ReferenceRelayKitRelay ProtocolChangelog

Getting Started

What is Relay?How Relay Works

Solutions

Payment Service ProvidersWallets & Wallet ProvidersMultichain AppsChainsCommerce & Payments

Use Cases

Bridging & OnboardingSwapsCall Execution

Features

App FeesFee SponsorshipDeposit AddressesGas Top-UpGasless ExecutionFast FillGasless SwapsPrice StabilizationRouting Integration Models

Security

Transaction ScreeningUnsupported ExchangesBug Bounty ProgramMEV protectionCommunity SupportContract Audits

Resources

Supported ChainsIntegrating using AISupportBrand Assets

API Reference

API OverviewQuickstartApps, API keys, and Rate LimitsAccess TokensUnderstanding Step ExecutionWallet DetectionCost & Fee StructureRefundsInput ValidationTrade TypesSurplus & ShortageHandling Quote ErrorsHandling Rate LimitsHandling Execution ErrorsContract CompatibilityBridging Integration GuideCall Execution Integration GuideTransaction IndexingBase Builder CodesSmart Accounts in RelayTestnet SupportSolana SupportBitcoin SupportHyperliquid SupportLighter SupportDeep LinkingWebsocketsWebhooksMigrating to Requests v3Migrating to Currencies v2Migrating to Token Price v2Supported ChainsContract AddressesSupported Tokens & RoutesTroubleshootingGet QuoteSubmit PermitGet StatusGet RequestsGet Published RequestsGet ChainsGet Chains LiquidityGet CurrenciesGet Currency ClassificationsGet Token PriceTransactions IndexTransactions SingleDeposit Address ReindexGet App Fee BalancesGet Balance EventsClaim App FeesGet UsageFast FillGet Swap SourcesCreate Access TokenExecute Gasless TxsAttest DepositGet Recovery BalancesRequest WithdrawalGet Withdrawal StatusGet Requests (v2)Get PriceGet ConfigGet Execution StatusGet Currencies (v1)Get Token Price (v1)Get Quote

RelayKit

OverviewInstallationcreateClientgetQuoteexecutegetAppFeesclaimAppFeesfastFillexecuteGaslessBatchAdaptersTypescript API TypingsChain UtilsInstallationuseQuoteuseRelayChainsuseRequestsuseTokenListuseTokenPriceuseExecutionStatusInstallationRelayKitProviderSwapWidgetThemingTroubleshooting

Protocol

Relay ProtocolHow It WorksThe Relay ChainDepositoryDeposit AddressesOracleHubAllocatorSecurity CouncilSecurity & AuditsFor AppsProgrammatic WithdrawalsWithdrawing with a SafeOperate a Third-Party Relay OracleAddressesEVM Depository ReferenceSVM Depository ReferenceOverviewArchitectureSecurityRelay Vaults BackendBridgingInteracting with Relay VaultsWithdrawing from Relay VaultsRelayPoolFactoryRelayPoolRelayPoolNativeGatewayRelayBridgeFactoryRelayBridge

Changelog

Changelog
## 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 /config and GET /config/v2 are 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.

PreviousGet PriceNextGet Execution Status
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport