GET
/
api
/
v0
/
balance
Get all stablecoin balances for an app
curl --request GET \
  --url https://api.devdraft.ai/api/v0/balance \
  --header 'x-client-secret: <api-key>'
{
  "usdc": {
    "currency": "usdc",
    "total_balance": "5678.90",
    "balances": [
      {}
    ]
  },
  "eurc": {
    "currency": "usdc",
    "total_balance": "5678.90",
    "balances": [
      {}
    ]
  },
  "total_usd_value": "6890.45"
}

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Response

200
application/json

All stablecoin balances retrieved successfully

The response is of type object.