curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/packAddress
{
"address": "<string>"
}
curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/packAddress
{
"address": "<string>"
}
packAddress
method converts a raw TON address to a user-friendly format. This method is useful for presenting TON addresses in a more readable and standardized way.
curl -X POST \
'https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/jsonRPC' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "packAddress",
"params": {
"address": "0:ed1691307050047117b998b561d8de82d31fbf84910ced6eb5fc92e7485ef8a7"
}
}'
address
(string, required) — The raw address to pack. Example: 0:ed1691307050047117b998b561d8de82d31fbf84910ced6eb5fc92e7485ef8a7
.address
(string) — The packed address in user-friendly format. This format typically includes a checksum and is easier for users to read and verify.packAddress
method in TON is for wallet applications, blockchain explorers, or any DApp that needs to display TON addresses to users. This method can be used to:
The raw address to pack
The packed (user-friendly) address
The response is of type object
.
Was this page helpful?