openapi: 3.2.0 info: title: Chainstack TON Node Get Wallet States API version: 1.0.0 description: Chainstack-managed RPC node API for the TON blockchain. Endpoints follow the canonical JSON-RPC over HTTPS interface for the network. Authenticate against your Chainstack node's per-node URL (e.g. https://nd-XXX-XXX-XXX.p2pify.com/). Merged from the Chainstack Developer Portal per-method fragments at https://github.com/chainstack/dev-portal/tree/main/openapi/ton_node_api. contact: name: Chainstack API Support email: support@chainstack.com license: name: Chainstack Terms url: https://chainstack.com/terms-of-service/ servers: - url: https://{node_id}.p2pify.com/{api_key} description: Chainstack-managed node endpoint variables: node_id: default: nd-000-000-000 description: Your Chainstack node identifier api_key: default: description: Per-node access key tags: - name: GetWalletStates paths: /getWalletStates: get: summary: Get Wallet States description: Query wallet states for addresses operationId: getWalletStates tags: - GetWalletStates parameters: - name: address in: query description: Wallet address to query required: true schema: type: string default: EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs - name: limit in: query description: Maximum number of results schema: type: integer default: 10 - name: offset in: query description: Number of results to skip schema: type: integer default: 0 responses: '200': description: Successful response content: application/json: schema: type: object properties: wallets: type: array items: type: object properties: address: type: string description: Wallet address is_wallet: type: boolean description: Whether address is a wallet contract balance: type: string description: Balance in nanotons status: type: string description: Account status code_hash: type: string description: Code cell hash last_transaction_hash: type: string description: Last transaction hash last_transaction_lt: type: string description: Last transaction logical time address_book: type: object description: Address book mapping components: securitySchemes: APIKeyHeader: type: apiKey in: header name: X-API-Key APIKeyQuery: type: apiKey in: query name: api_key