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 App Fee Balances

This API returns app fee balances for a specific wallet.

What are app fees?

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:
  /app-fees/{wallet}/balances:
    get:
      parameters:
        - schema:
            type: string
          in: path
          name: wallet
          required: true
          description: Wallet to get the app fees for
        - 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
                properties:
                  balances:
                    type: array
                    description: An array of app fee balances across multiple currencies
                    items:
                      type: object
                      example:
                        currency:
                          chainId: 8453
                          address: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
                          symbol: USDC
                          name: USD Coin
                          decimals: 6
                          metadata:
                            logoURI: >-
                              https://ethereum-optimism.github.io/data/USDC/logo.png
                            verified: false
                            isNative: false
                        amount: '30754920'
                        amountFormatted: '30.75492'
                        amountUsd: '30.901612'
                        minimumAmount: '30454920'
                      properties:
                        currency:
                          type: object
                          properties:
                            chainId:
                              type: number
                            address:
                              type: string
                            symbol:
                              type: string
                            name:
                              type: string
                            decimals:
                              type: number
                            metadata:
                              type: object
                              properties:
                                logoURI:
                                  type: string
                                verified:
                                  type: boolean
                                isNative:
                                  type: boolean
                        amount:
                          type: string
                        amountFormatted:
                          type: string
                        amountUsd:
                          type: string
                        minimumAmount:
                          type: string
                  totalBalanceUsd:
                    type: number
                    description: Total app fee balance in USD across all currencies.
                  outstandingFastFillBalanceUsd:
                    type: number
                    description: >-
                      Outstanding fast fill balance in USD that has not yet
                      settled. This amount is deducted from the available
                      collateral for new fast fills and claims.
                  availableBalanceUsd:
                    type: number
                    description: >-
                      Total balance minus outstanding fast fill balance. The
                      effective collateral available for new fast fills and
                      claims.
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Descriptive error message

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

PreviousDeposit Address ReindexNextGet Balance Events
Relay© 2026 Uneven Labs, Inc. All rights reserved.XGitHubSupport