TON
getWalletInformation15 crédits
Returns what is known of an account as a wallet: its type, seqno and balance.
Paramètres
| Nom | Type | Description |
|---|---|---|
| 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. (facultatif) |
Valeur renvoyée
Type
Object
wallet (true when the account is a known wallet contract), balance, account_state, wallet_type (for example "wallet v4 r2"), seqno and last_transaction_id.
Exemples de code
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": "getWalletInformation",
"params": {
"address": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N"
}
}'