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.

How Relay Works

Follow a transaction from quote to completion

Tell Relay what your user wants to do. The API returns a quote and the steps to complete it, then lets you track the transaction through completion.

Platform Execution

  1. Quote: Your application requests an outcome. The API returns a route, expected output, fees, and the steps required to execute it.
  2. Authorize: The user signs the transactions or messages returned in the quote. Deposit methods and transaction targets depend on the route; follow the returned steps rather than substituting a fixed address.
  3. Fill: For a cross-chain order, a solver uses its own capital to complete the requested action on the destination chain. Same-chain swaps execute on the source chain without a cross-chain fill.
  4. Track: Your application monitors the request through completion or refund using the status API.

Protocol Settlement

For orders using the settlement protocol, users deposit into a Relay Depository Contract. Solvers fill on the destination chain, then submit attestations that credit their balances on the Hub. Withdrawal proofs authorize payment from the Depository.

The protocol separates deposits, fills, verification, and withdrawals across distinct components. Its security model explains the Oracle, Allocator, and Security Council trust assumptions.

Protocol support does not mean every platform route uses that settlement flow. API endpoint versions, including /requests/v3, version the API—not the settlement protocol used by an order.

The Relay Stack

[card] Relay API Request quotes, execute transactions, track status, and retrieve supported network data.
[card] RelayKit Use the SDK, React hooks, and UI components to add Relay to your application.
[card] Relay Protocol Explore settlement contracts, fill verification, and the protocol's security model.
[card] Relay App Explore supported routes and transact through the same infrastructure available to integrators.

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

PreviousWhat is Relay?NextPayment Service Providers
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport