Skip to main content
GET
/
v0
/
account
/
balances
Get user token balances
curl --request GET \
  --url https://1click.chaindefuser.com/v0/account/balances \
  --header 'Authorization: Bearer <token>'
{
  "balances": [
    {
      "tokenId": "nep141:wrap.near",
      "available": "1000000000000000000000000",
      "source": "private"
    }
  ]
}

Authorizations

Authorization
string
header
required

User session token obtained from /auth/authenticate

Query Parameters

tokenIds
string[]

Comma-separated list of token IDs to query. If empty, returns all non-zero balances.

Response

balances
object[]
required

List of token balances