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 Chains

This API returns all possible chains available.

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:
    get:
      parameters:
        - schema:
            type: string
            nullable: true
          in: query
          name: includeChains
          required: false
        - 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:
                  chains:
                    type: array
                    description: An array of supported chains
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                        name:
                          type: string
                        displayName:
                          type: string
                        httpRpcUrl:
                          type: string
                        wsRpcUrl:
                          type: string
                        explorerUrl:
                          type: string
                        explorerName:
                          type: string
                        explorerPaths:
                          type: object
                          nullable: true
                          properties:
                            transaction:
                              type: string
                            address:
                              type: string
                            token:
                              type: string
                        depositEnabled:
                          type: boolean
                          description: >-
                            If the network supports depositing to this chain,
                            e.g. allows this chain to be set as the destination
                            chain
                        depositAddressEnabled:
                          type: boolean
                          description: >-
                            If any token on this chain can be a deposit-address
                            input. Routes still require a quote.
                        tokenSupport:
                          type: string
                          enum:
                            - All
                            - Limited
                        disabled:
                          type: boolean
                          description: If relaying to and from this chain is disabled
                        partialDisableLimit:
                          type: number
                          description: >-
                            The value limit at which the chain is partially
                            disabled, if 0, the chain is not partially disabled.
                            i.e, 1000000000000000000 to designate 1 ETH max
                            withdrawal/deposit
                        blockProductionLagging:
                          type: boolean
                          description: >-
                            If the chain is experiencing issues where blocks are
                            lagging behind or not being produced
                        currency:
                          type: object
                          properties:
                            id:
                              type: string
                            symbol:
                              type: string
                            name:
                              type: string
                            address:
                              type: string
                            decimals:
                              type: number
                            supportsBridging:
                              type: boolean
                        withdrawalFee:
                          type: number
                          description: The fee in bps for withdrawing from this chain
                        depositFee:
                          type: number
                          description: The fee in bps for depositing to this chain
                        surgeEnabled:
                          type: boolean
                          description: If the chain has surge pricing enabled
                        featuredTokens:
                          type: array
                          description: An array of featured erc20 currencies
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              symbol:
                                type: string
                              name:
                                type: string
                              address:
                                type: string
                              decimals:
                                type: number
                              supportsBridging:
                                type: boolean
                                description: If the currency supports bridging
                              metadata:
                                properties:
                                  logoURI:
                                    type: string
                                type: object
                        erc20Currencies:
                          type: array
                          description: >-
                            An array of erc20 currencies that the solver accepts
                            directly as input
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              symbol:
                                type: string
                              name:
                                type: string
                              address:
                                type: string
                              decimals:
                                type: number
                              supportsBridging:
                                type: boolean
                                description: If the currency supports bridging
                              supportsPermit:
                                type: boolean
                                description: >-
                                  If the erc20 currency supports permit via
                                  signature (EIP-2612)
                              withdrawalFee:
                                type: number
                                description: The fee in bps for withdrawing from this chain
                              depositFee:
                                type: number
                                description: The fee in bps for depositing to this chain
                              surgeEnabled:
                                type: boolean
                                description: If the chain has surge pricing enabled
                        solverCurrencies:
                          type: array
                          description: >-
                            An array of all currencies that the solver accepts
                            directly as input, including native currency if
                            applicable
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              symbol:
                                type: string
                              name:
                                type: string
                              address:
                                type: string
                              decimals:
                                type: number
                        iconUrl:
                          type: string
                          description: The URL to the chain icon
                          nullable: true
                        logoUrl:
                          type: string
                          description: The URL to the chain logo
                          nullable: true
                        brandColor:
                          type: string
                          description: Brand color code
                          nullable: true
                        contracts:
                          type: object
                          description: Relay contract addresses
                          properties:
                            multicall3:
                              type: string
                            multicaller:
                              type: string
                            onlyOwnerMulticaller:
                              type: string
                            relayReceiver:
                              type: string
                            erc20Router:
                              type: string
                            approvalProxy:
                              type: string
                            v3:
                              type: object
                              properties:
                                erc20Router:
                                  type: string
                                approvalProxy:
                                  type: string
                            v3.2:
                              type: object
                              description: >-
                                RelayRouter 3.2 and its approval proxy. Relay
                                routes through them on a chain when erc20Router
                                and approvalProxy show these addresses
                              properties:
                                erc20Router:
                                  type: string
                                approvalProxy:
                                  type: string
                        vmType:
                          type: string
                          description: The type of VM the chain runs on
                          enum:
                            - bvm
                            - evm
                            - svm
                            - tvm
                            - tonvm
                            - hypevm
                            - lvm
                            - xrpvm
                            - hederavm
                            - atlasvm
                        explorerQueryParams:
                          type: object
                          nullable: true
                          additionalProperties: true
                        baseChainId:
                          type: number
                          description: >-
                            The chain id which the chain rolls up to. This is
                            always set as Ethereum for L1 chains
                          nullable: true
                        statusMessage:
                          type: string
                          description: If applicable, a status message for the chain
                          nullable: true
                        solverAddresses:
                          type: array
                          description: >-
                            An array of solver addresses in use on the chain,
                            including active multi-EOA and VM-specific service
                            signer addresses.
                          items:
                            type: string
                        tags:
                          type: array
                          items:
                            type: string
                        protocol:
                          type: object
                          properties:
                            v2:
                              type: object
                              properties:
                                chainId:
                                  type: string
                                  nullable: true
                                depository:
                                  type: string
                                  nullable: true
                                depositoryVault:
                                  type: string
                                  nullable: true

This documentation is built and hosted on Mintlify, a developer documentation platform.

PreviousGet Published RequestsNextGet Chains Liquidity
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport