get/app-fees/{wallet}/balances

Request

  • Base URL: https://api.relay.link
  • URL: https://api.relay.link/app-fees/{wallet}/balances
  • Auth: none declared

Path parameters

walletstring required

Wallet to get the app fees for

Headers

x-api-keystring

Optional API key for authentication and higher rate limits.

Response

Default Response

totalBalanceUsdnumber

Total app fee balance in USD across all currencies.

outstandingFastFillBalanceUsdnumber

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.

availableBalanceUsdnumber

Total balance minus outstanding fast fill balance. The effective collateral available for new fast fills and claims.

Example response

{
  "balances": [
    {
      "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"
    }
  ]
}

Changes

    • info

      added the new optional header request parameter x-api-key

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status