Get wallet information
Returns wallet-specific information for an address. If the address is a known wallet contract, returns the wallet type, current seqno (needed for sending transactions), and wallet_id. Always check wallet: true before using wallet-specific fields. Call this before sending any transaction to get the current seqno.
API key header of the form X-API-Key: <token>, where <token> is the API key. Requests without a key are limited to 1 RPS. Refer to the authentication guide for details.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v2/getWalletInformation" \ -H "Content-Type: application/json" \ -d '{ "address": "string" }'{ "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": 0, "wallet_id": 0, "is_signature_allowed": true }, "@extra": "string"}