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.

Smart Accounts in Relay

Sponsor gas, batch actions, and execute across chains with ERC-4337 and EIP-7702

Let users transact across chains from the assets they already hold. Combine smart accounts with Relay to:

  • Batch multiple actions into one atomic call (e.g. deposit → call user wallet → mint NFT)
  • Delegate tx execution to the user, preserving msg.sender on the destination chain
  • Sponsor gas or use ERC-20s for fee payments
  • Route logic across chains, bridging into EOAs that execute contract logic without a separate deployment

Relay supports two complementary standards for smart account execution:

ERC-4337

Relay uses ERC-4337 to support complex smart account flows. Key features include:

  • Sponsored transactions using paymasters
  • Arbitrary smart account validation logic
  • Bundled execution: approve → swap → send, all in one tx

This is useful when you have smart accounts like Safe or Kernel, and interact via UserOperations.

EIP-7702

Relay uses EIP-7702 to enable EOAs to become smart accounts.

We support 7702 to:

  • Execute logic on destination chains where the user is `msg.sender`\

Useful for apps where the final contract cares about the actual sender (e.g. NFT mints, purchases)

  • Preserve intent and gas delegation across chains\

Solvers can deliver ETH or tokens to the user's EOA, and the EOA can act as a smart wallet

  • Avoid smart account setup on destination: the user's EOA behaves like a contract temporarily, powered by an authorizationList signature

Why Smart Accounts Matter for Relay

Smart accounts help your app preserve user identity, batch calls, and manage gas across chains:

ProblemSolved By
msg.sender is solver, but the app needs it to be the user✅ ERC-4337 / 7702
Want to batch calls after bridging ETH✅ ERC-4337 / 7702
Want to pay gas from any chain or abstract fees entirely✅ ERC-4337 paymasters / 7702 signature logic
Want smart account functionality for your EOA✅ EIP-7702

For example, when someone uses ETH on Chain A to buy an NFT on Chain B:

  • A solver delivers ETH to their EOA on Chain B
  • That EOA uses a signed 7702 tx to batch logic on Chain B: approve → mint
  • msg.sender = the user, not the solver

This wasn’t previously possible because we couldn’t inject logic into EOAs without deploying a contract. Now we can.

🔗 Explore the Guides

  • ERC-4337 Guide – Learn how Relay uses UserOperations and bundlers
  • EIP-7702 Guide – See how Relay turns EOAs into smart wallets with authorizationList

The Relay platform supports both ERC-4337 and EIP-7702 for gas sponsorship, batching, and user-authorized execution.

Let us know what you’re building.

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

PreviousBase Builder CodesNextTestnet Support
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport