getWalletInformation
curl --request GET \
--url https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformationimport requests
url = "https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation")
.asString();require 'uri'
require 'net/http'
url = URI("https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"wallet": true,
"balance": "<string>",
"account_state": "<string>",
"wallet_type": "<string>",
"seqno": 123,
"last_transaction_id": {
"lt": "<string>",
"hash": "<string>"
}
}TON node API
getWalletInformation | TON v2
The getWalletInformation method retrieves wallet-specific information about a TON address. getWalletInformation on TON v2 via Chainstack.
GET
/
getWalletInformation
getWalletInformation
curl --request GET \
--url https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformationimport requests
url = "https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation")
.asString();require 'uri'
require 'net/http'
url = URI("https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"wallet": true,
"balance": "<string>",
"account_state": "<string>",
"wallet_type": "<string>",
"seqno": 123,
"last_transaction_id": {
"lt": "<string>",
"hash": "<string>"
}
}The
getWalletInformation method retrieves wallet-specific information about a TON address. This method is particularly useful for obtaining details about wallet contracts, including their type, balance, and current state.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
TON billing: full (1 RU)This method is always billed as full. See Request units — TON method scope.
seqno(int, optional) — the Masterchain seqno. You can get the Masterchain seqno with getMasterchainInfo | TON v2.
seqno:
Shell
curl --request GET \
--url 'https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/getWalletInformation?address=EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2&seqno=45792554' \
--header 'accept: application/json'
JSON-RPC example
Shell
curl -X POST \
'https://ton-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/api/v2/jsonRPC' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getWalletInformation",
"params": {
"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"
}
}'
Parameters
address(string, required) — The address for which wallet information is being requested. Example:EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2.
Response
wallet(boolean) — Indicates if the address is a wallet.balance(string) — The balance of the wallet in nanotons.account_state(string) — The state of the account (active, uninitialized, etc.).wallet_type(string) — The type of the wallet contract.seqno(integer) — The current sequence number of the wallet.last_transaction_id(object) — The last transaction ID, containing:lt(string) — The logical time of the last transaction.hash(string) — The hash of the last transaction.
Use case
A possible use case for thegetWalletInformation method in TON is for wallet applications or blockchain explorers that need to display specific information about wallet contracts. This method can be used to show the current balance, wallet type, and transaction sequence number, which are crucial for interacting with the wallet or monitoring its state.Query Parameters
Response
200 - application/json
Wallet information for the specified address
Last modified on November 6, 2026
Was this page helpful?