Balance

Get account balance

get

Retrieves the balance of a specific user account.

Header parameters
x-api-keystringRequired

API key for authentication.

Example: your-api-key
Responses
200
Successfully retrieved the account balance.
application/json
get
GET /tokenpay/user/account/balance HTTP/1.1
Host: api.ordinalsbot.com
x-api-key: your-api-key
Accept: */*
{
  "bitcoin": {
    "BTC": 0
  },
  "rune": {
    "XRUNE": 10
  }
}