GET
/
accounts
/
{address}
/
balance
/
{asset_type}
Get account balance
curl --request GET \
  --url https://api.us1.shinami.com/aptos/node/v1/accounts/{address}/balance/{asset_type} \
  --header 'Authorization: Bearer <token>'
123

Authorizations

Authorization
string
header
required

Authorization: Bearer SHINAMI_ACCESS_KEY.

Path Parameters

address
string<hex>
required

Address of account with or without a 0x prefix

Example:

6.195948399647823e+76

asset_type
string<hex>
required

A hex encoded 32 byte Aptos account address or a struct tag.

This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and adding a 0x or Format: {address}::{module name}::{struct name}

Example:

"0x1::aptos_coin::AptosCoin"

Query Parameters

ledger_version
string<uint64>

Ledger version to get state of account

If not provided, it will be the latest version

Example:

"32425224034"

Response

The response is of type integer.