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

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

Constraints

  • Requires a correctly formatted encoded address
  • Only supports specific encoding formats
  • Depends on node compatibility with TON decoding
Get started
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'
Copy
Response
200
{
    "ok": true,
    "result": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
Copy

Request params

Parametersstring
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.