TON
packAddress5 Credits
Converts a raw address (`workchain:hex`) to the user-friendly form.
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| address | string | Address in the raw form, for example "0:83dfd552e63729b472fcbcc8c45ebcc6691702558b68ec7527e1ba403a0f31a8". |
Rückgabewert
Typ
string
The user-friendly address (base64url, bounceable).
Codebeispiele
curl https://holy-burned-sky-ton-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "packAddress",
"params": {
"address": "0:83dfd552e63729b472fcbcc8c45ebcc6691702558b68ec7527e1ba403a0f31a8"
}
}'