unpackAddress - Ton
unpackAddress. Decodes a previously packed address back into its original format.
unpackAddress - ton [Value: 100CU]
Decodes a previously packed address back into its original format.
Use cases
- Decode a formatted TON address to its raw form
- Convert addresses for compatibility across systems
- Retrieve the original address from an encoded format
Constraints
- Requires a correctly formatted encoded address
- Only supports specific encoding formats
- Depends on node compatibility with TON decoding
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request GET \
--url https://ton.drpc.org/rest/unpackAddress?address=0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef \
--header 'accept: application/json'
Response
200
{
"ok": true,
"result": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
Request params
string
addressstring
Identifier of the target TON account in any form.
Response
200
Response params
object
okboolean
Indicates if the request was successful.
resultstring
The unpacked address in raw form.