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.

The Relay Chain

A purpose-built settlement chain for crosschain intent processing

Overview

The Relay Chain is a dedicated blockchain purpose-built for settlement of crosschain intents. It serves as the home of the Hub contract — the central ledger that tracks all token ownership and solver balances in the protocol.

By running settlement on a dedicated chain, Relay avoids competing for blockspace on congested networks and keeps settlement costs minimal, regardless of how expensive the origin or destination chains are.

Why a Dedicated Chain

Intent protocols typically settle on the origin chain, which means settlement competes with all other activity on that chain. This creates several problems:

  • Cost — Gas prices on popular chains (Ethereum, Base, Arbitrum) fluctuate with demand, making settlement costs unpredictable
  • Throughput — High-volume order flow can be bottlenecked by chain congestion
  • Complexity — Each origin chain requires its own settlement logic and proof verification

The Relay Chain solves these by providing:

  • Predictable, low-cost gas — Settlement costs \~\$0.005 per order, regardless of origin/destination chain gas prices
  • Dedicated throughput — No competition with external traffic. The chain is optimized for settlement operations
  • Single settlement point — All orders across all chains settle in one place, simplifying the protocol and reducing the number of moving parts
[!NOTE] Users and app developers never interact with the Relay Chain directly. It operates entirely in the background — deposits and fills happen on the origin/destination chains, while settlement is handled automatically.

Technical Details

PropertyValue
Chain ID537713
RPChttps://rpc.chain.relay.link
Block Explorerexplorer.chain.relay.link
Native AssetETH
StackSovereign Stack (rollup)
Data AvailabilityCelestia
VMEVM-compatible

What Lives on the Relay Chain

The Relay Chain hosts the core settlement contracts:

  • [Hub](https://docs.relay.link/references/protocol/components/hub.md) — The ERC6909 multi-token ledger that tracks all balances
  • [Oracle](https://docs.relay.link/references/protocol/components/oracle.md) — The contract that processes oracle attestations (mint, burn, transfer)
  • ERC20View — A wrapper contract that exposes Hub token balances as standard ERC20 tokens for wallet compatibility

The Allocator is deployed on Aurora (NEAR ecosystem) rather than on the Relay Chain, for direct integration with the NEAR MPC network used for withdrawal proof generation.

Settlement activity on the Relay Chain includes deposit attestations, fill and refund settlement executions, balance transfers, and withdrawal-burn executions. Withdrawal proof generation itself happens on Aurora via the Allocator, not on the Relay Chain.

Exploring Settlement Activity

Every settlement transaction is visible on the Relay Chain Block Explorer. You can trace the full lifecycle of any order by looking at the Oracle contract's attestation transactions, which record deposits, fills, and withdrawals.

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

PreviousHow It WorksNextDepository
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport