Skip to content

Get balance of a single account

GET/accounts/{id}/balance

Path parameters

NameTypeDescriptionRequired
id
string
Id of the target account

Response schema

|
Raw signing account
|
Bitcoin-like
|
Canton-like
|
Cardano-like
|
Ethereum-like
|
Generic-like
|
Polkadot-like
|
Ripple-like
|
Solana-like
|
Stellar-like
|
Sui-like
|
Tezos-like
|
Tron-like

Examples

bash
curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {jwt}" \
  "$API_BASE_URL/accounts/{id}/balance"
ts
const url = "<base-url>/accounts/{id}/balance";

const headers = {
  "Content-Type": "application/json",
  Authorization: "Bearer <jwt>"
};

fetch(url, { headers }).then(res => {
  console.log(res)
});
python
import requests

url = "<base-url>/accounts/{id}/balance"

headers = {
  "Content-Type": "application/json",
  "Authorization": "Bearer <jwt>"
}

print(requests.get(url, headers=headers))