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.

RelayKitProvider

The provider to setup RelayKit UI

Parameters

ParameterDescriptionRequired
optionsAn object representing options that customize the underlying RelayKit SDK and RelayKit UI. A full list of options can be found below.✅
themeA theme object representing overrides for the default styles❌

Options

OptionDescriptionRequired
codexConfig.apiKeyThis key is used to fetch token balances to improve the general user experience and suggest relevant tokens to the user. If omitted the flow will continue to work but balances may be missing from the token selection flow. Refer to the Codex docs on how to get an API key.❌
codexConfig.apiBaseUrlThe base url for the Codex GraphQL API. If omitted, the default https://graph.codex.io is used. If you prefer to obfuscate and protect your API key, you can pass in a custom endpoint which will be used to fetch the data. In your proxy you can then add the API key and do any additional checks before sending to the Codex API.❌
disablePoweredByReservoirA boolean which disables the powered by Reservoir footer❌
appNameThe name of your application, used in the ui to contextualize actions❌
appFeesAn array of objects representing fees. Each object should contains a recipient wallet address and a fee in bps (e.g. 100 = 1%).❌
themeSchemeThe overall theme color of the app, can be light or dark. Defaults to light. This changes the color scheme of icons and other ui elements, in addition to the theme passed in.❌
acknowledgeApiKeyExposureSilences the client-side warnings shown when `baseApiUrl` points directly at the Relay API. GET /requests/v3 requires an API key, so production integrations should proxy requests through their own backend and never ship the key to the browser. Set to true only if you understand the exposure (e.g. a public, rate-limited key).❌

The options are also a combination of all the parameters passed to the RelayKit SDK. An sdk instance with these options is created when using this provider.

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

PreviousInstallationNextSwapWidget
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport