Skip to main content
GET
/
balance
/
{token}
/
{principal}
cURL
curl --request GET \
  --url https://api.odin.fun/v1/balance/{token}/{principal} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "balance": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

token
string
required
principal
string
required

Response

default - application/json

Balance will be a number if it exists, otherwise null

data
object