Last updated on January 1, 1970

2 min read

Method /getWalletInformation undefined ()
connect with JSON-RPC protocol

/getWalletInformation

info-circle-fill

Retrieve wallet information. This method parses contract state andcurrently supports more wallet types than getExtendedAddressInformationsimple wallet, standart wallet, v3 wallet, v4 wallet.

Parameters

address - query

required, string

Identifier of target TON account in any form.

Request

curl --location --request GET 'https://ton.getblock.io/mainnet/getWalletInformation?address=EQAFPsHznqgqPUZQVyUBmWxpNwReAIuepKo_BjLiS-C05XB_' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json'

Response

{
    "ok": true,
    "result": {
        "account_state": "active",
        "balance": "809401535972",
        "last_transaction_id": {
            "@type": "internal.transactionId",
            "hash": "R7vI2AxqgpQQYxQaxZsQwtZXHxE6rw6mDNtKJ3LtPVM=",
            "lt": "34789408000007"
        },
        "seqno": 6,
        "wallet": true,
        "wallet_id": 698983191,
        "wallet_type": "wallet v3 r2"
    }
}
banner icon

Start Building with GetBlock RPCs for Free