Skip to main content
GET
/
api
/
v2
/
getWalletInformation
Get Wallet Information
curl --request GET \
  --url https://toncenter.com/api/v2/getWalletInformation
{
  "ok": true,
  "result": {
    "@type": "ext.accounts.walletInformation",
    "wallet": true,
    "balance": "<string>",
    "account_state": "uninitialized",
    "last_transaction_id": {
      "@type": "internal.transactionId",
      "lt": "<string>",
      "hash": "<string>"
    },
    "wallet_type": "wallet v1 r1",
    "seqno": 123,
    "wallet_id": 123,
    "is_signature_allowed": true
  }
}

SDK Usage

import asyncio

from toncenter.rest import ToncenterRestClient
from toncenter.types import Network

ADDRESS = "UQCDrgGaI6gWK-qlyw69xWZosurGxrpRgIgSkVsgahUtxZR0"


async def main() -> None:
    async with ToncenterRestClient(network=Network.MAINNET) as client:
        result = await client.v2.accounts.get_wallet_information(
            ADDRESS,
        )
        print(result.model_dump_json(indent=4))


if __name__ == "__main__":
    asyncio.run(main())

Query Parameters

address
string
required

Identifier of target TON account in any form

seqno
integer<int32>

Seqno of a block

Response

OK

ok
boolean
required
Example:

true

result
WalletInformation · object
required