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 密钥