Get App Fee Balances - Relay

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

cURL

curl --request GET \
  --url https://api.relay.link/app-fees/{wallet}/balances

JavaScript

const options = {method: 'GET'};

fetch('https://api.relay.link/app-fees/{wallet}/balances', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Python

import requests

url = "https://api.relay.link/app-fees/{wallet}/balances"

response = requests.get(url)

print(response.text)

Response Codes

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"
    }
  ],
  "totalBalanceUsd": 123,
  "outstandingFastFillBalanceUsd": 123,
  "availableBalanceUsd": 123
}
{
  "message": "<string>"
}

Path Parameters

Response Structure