ドキュメント
料金GitHubダッシュボード

TON

getAddressInformation15クレジット

Returns the balance, the code and data, and the state of an account.

ネットワーク: ton

パラメータ

名前型説明
addressstringAccount address, in raw (`0:<hex>`) or user-friendly (base64, base64url) form.
seqnonumberMasterchain block seqno to read the state at. The latest state when omitted. (任意)

戻り値

型

Object

balance (nanotons), extra_currencies, code, data, last_transaction_id (lt, hash), block_id, frozen_hash, sync_utime and state ("uninitialized", "active" or "frozen").

コード例

curl https://holy-burned-sky-ton-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getAddressInformation",
  "params": {
    "address": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N"
  }
}'