[Go to site: main page, start]

packAddress - Ton

packAddress. Encodes a given TON blockchain address into a format suitable for transmission and storage.

packAddress - ton [Value: 100CU]
Encodes a given TON blockchain address into a format suitable for transmission and storage.
Use cases
Use cases
  • Encode a TON address into a specific format
  • Prepare an address for secure storage
  • Standardize address format for compatibility
Constraints
Constraints
  • Requires a valid TON address as input
  • Only supports certain encoding formats
  • Depends on node compatibility with TON encoding
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request GET \
     --url  https://lb.drpc.live/ton/{API-KEY}packAddress?address=0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": "EQASNFZ4kKvN7xI0VniQq83vEjRWeJCrze8SNFZ4kKvN7xSL"
}
Copy
Path params
Parameters
Query params
Parameters
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 packed address in its encoded form.