TON
getExtendedAddressInformation20 额度
Returns the state of an account with the contract parsed: the wallet fields, or the raw code and data.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | Account address, in raw (`0:<hex>`) or user-friendly (base64, base64url) form. |
| seqno | number | Masterchain block seqno to read the state at. The latest state when omitted. (可选) |
返回值
类型
Object
address, balance, last_transaction_id, block_id, sync_utime and account_state (the parsed contract: wallet type and seqno, or raw code and data).
代码示例
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": "getExtendedAddressInformation",
"params": {
"address": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N"
}
}'