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 Status

This API returns current status of intent.
[!NOTE] Polling is not the only way to track status. Configure a webhook in the Relay Dashboard to have status updates pushed to your backend, or subscribe to websockets for a real-time stream.

Relay returns one of the following statuses. Only success and refund are final.

StatusDescriptionFinal
waitingWaiting for the origin deposit❌
depositingOrigin deposit confirmed via the /execute API, waiting for the fill to start❌
pendingRequest accepted and fill in progress❌
submittedFill transaction submitted on the destination chain❌
successFill succeeded on the destination chain✅
failureThe fill failed and no refund has completed❌
refundThe fill failed and the deposit was refunded on the origin chain✅

Polling until settlement

Poll until the status is success or refund. Once a request reaches either, its status only changes again in one rare case, a chain reorganization of the settling transaction; Relay otherwise only appends transaction details after that point.

failure is usually not final. A failed fill can be retried, returning the request to pending, or refunded, moving it to refund, so keep polling through a failure rather than treating it as the end. The exception is a failure with refundFailReason set: no automatic refund will follow, so stop polling and handle it per Refunds.

Request acceptance is not settlement. A successful quote or execute response means the request was accepted; treat the swap as settled only when the status is success and txHashes contains the destination fill transaction.

[!NOTE] For deposit-address requests, waiting on the quote-time requestId does not mean the deposit is missing. If Relay regenerated the quote, the fill runs under a new requestId, and the quote-time one can stay waiting after the fill succeeds. Check the order with Get Requests using depositAddress. See Tracking Transactions.

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:
  /intents/status/v3:
    get:
      parameters:
        - schema:
            type: string
          in: query
          name: requestId
          required: false
          description: >-
            A unique id representing the execution in the Relay system. You can
            obtain this id from the requests api or the check object within the
            step items.
        - 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
                example:
                  status: success
                  inTxHashes:
                    - >-
                      0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7
                  txHashes:
                    - >-
                      0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254
                  updatedAt: 1713290386145
                  originChainId: 7777777
                  destinationChainId: 8453
                properties:
                  status:
                    type: string
                    enum:
                      - refund
                      - waiting
                      - depositing
                      - failure
                      - pending
                      - submitted
                      - success
                  details:
                    type: string
                  inTxHashes:
                    type: array
                    description: Incoming transaction hashes
                    items:
                      type: string
                  txHashes:
                    type: array
                    description: Outgoing transaction hashes
                    items:
                      type: string
                  updatedAt:
                    type: number
                    description: The last timestamp the data was updated
                  originChainId:
                    type: number
                  destinationChainId:
                    type: number
                  quoteCreatedAt:
                    type: number
                    description: The timestamp when the quote request was created
                  failReason:
                    type: string
                    enum:
                      - UNKNOWN
                      - SLIPPAGE
                      - AMOUNT_TOO_LOW_TO_REFUND
                      - DEPOSIT_ADDRESS_MISMATCH
                      - DEPOSIT_CHAIN_MISMATCH
                      - INCORRECT_DEPOSIT_CURRENCY
                      - DOUBLE_SPEND
                      - SOLVER_CAPACITY_EXCEEDED
                      - SOLVER_BALANCE_TOO_LOW
                      - DEPOSITED_AMOUNT_TOO_LOW_TO_FILL
                      - NEGATIVE_NEW_AMOUNT_AFTER_FEES
                      - NO_QUOTES
                      - MISSING_REVERT_DATA
                      - REVERSE_SWAP_FAILED
                      - GENERATE_SWAP_FAILED
                      - TOO_LITTLE_RECEIVED
                      - EXECUTION_REVERTED
                      - NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE
                      - TRANSACTION_REVERTED
                      - TRANSACTION_TOO_LARGE
                      - ORIGIN_CURRENCY_MISMATCH
                      - NO_INTERNAL_SWAP_ROUTES_FOUND
                      - SWAP_USES_TOO_MUCH_GAS
                      - INSUFFICIENT_FUNDS_FOR_RENT
                      - SPONSOR_BALANCE_TOO_LOW
                      - ORDER_EXPIRED
                      - ORDER_IS_CANCELLED
                      - TRANSFER_FROM_FAILED
                      - TRANSFER_FAILED
                      - SIGNATURE_EXPIRED
                      - INVALID_SIGNATURE
                      - INSUFFICIENT_NATIVE_TOKENS_SUPPLIED
                      - TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE
                      - TRANSFER_AMOUNT_EXCEEDS_BALANCE
                      - INVALID_SENDER
                      - ACCOUNT_ABSTRACTION_INVALID_NONCE
                      - ACCOUNT_ABSTRACTION_SIGNATURE_ERROR
                      - SEAPORT_INEXACT_FRACTION
                      - TOKEN_NOT_TRANSFERABLE
                      - ZERO_SELL_AMOUNT
                      - MINT_NOT_ACTIVE
                      - ERC_1155_TOO_MANY_REQUESTED
                      - INCORRECT_PAYMENT
                      - INVALID_GAS_PRICE
                      - FLUID_DEX_ERROR
                      - ORDER_ALREADY_FILLED
                      - SEAPORT_INVALID_FULFILLER
                      - INVALID_SIGNER
                      - MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET
                      - MINT_QUANTITY_EXCEEDS_MAX_SUPPLY
                      - JUPITER_INVALID_TOKEN_ACCOUNT
                      - INVALID_NONCE
                      - ACCOUNT_ABSTRACTION_GAS_LIMIT
                      - CONTRACT_PAUSED
                      - SWAP_IMPACT_TOO_HIGH
                      - INSUFFICIENT_POOL_LIQUIDITY
                      - POOL_CAP_EXCEEDED
                      - TTL_EXPIRED
                      - DEPOSIT_CONFIRMATION_TIMEOUT
                      - ORPHANED_DEPOSIT_REFUND
                      - GASLESS_PERMIT_BALANCE_TOO_LOW
                      - MANUAL_ADMIN_REFUND
                      - QUOTED_GAS_LIMIT_EXCEEDED
                      - DESTINATION_TOKEN_TRANSFER_REJECTED
                      - DEPOSIT_REORGED
                      - BLOCKED_WALLET
                      - PROTOCOL_DEADLINE_EXPIRED
                      - TRANSACTION_NOT_INCLUDED
                      - TRANSACTION_SUBMISSION_FAILED
                      - N/A
                    nullable: true
                  refundFailReason:
                    type: string
                    enum:
                      - AMOUNT_TOO_LOW_TO_REFUND
                      - NEGATIVE_NEW_AMOUNT_AFTER_FEES
                      - SWAP_CURRENCY_NOT_ON_ORIGIN
                      - REFUND_RECIPIENT_IS_VASP
                      - REFUND_RECIPIENT_IS_BLOCKED
                      - MANUAL_REFUND_REQUIRED
                    nullable: true
                  revertReason:
                    type: string
                    nullable: true
                    description: >-
                      Raw contract output for debugging only; do not show it to
                      end users. The decoded revert reason when a failed or
                      refunded request reverted on chain or in simulation: the
                      Error(string) message, Panic(0x..) code, known custom
                      error name, or 4-byte selector of an unknown custom error.
                      Sanitized for safety because contracts can embed phishing
                      links: limited to printable ASCII, URLs with a scheme, www
                      prefix, IP address, port or path are removed, and dots in
                      bare domains and dotted names are replaced with
                      underscores so they can't be rendered as links (e.g.
                      claim.store becomes claim_store and SafeMath.sub becomes
                      SafeMath_sub). Truncated to 128 characters. Null when no
                      revert data was captured or the request has not failed.
                    example: TRANSFER_FROM_FAILED

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

PreviousSubmit PermitNextGet Requests
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport