getAddressBalance

TONC1

Returns the balance of a TON address in nanotons — a lighter call than getAddressInformation when you only need the balance.

Endpoint
GET https://api.1st-node.com/v1/ton/getAddressBalance?address=EQD%E2%80%A6

Parameters

NameTypeDescription
addressstringTON address.

Returns

string — the balance in nanotons.

Request

curl "https://api.1st-node.com/v1/ton/getAddressBalance?address=EQD%E2%80%A6" \
  -H "Authorization: Bearer $ONE_KEY"

Response

"4200000000"
More state methods on TON

TON API

チャージして、キーを取得し、リリース。

セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。

APIキーを取得