TON
packAddress5 크레딧
Converts a raw address (`workchain:hex`) to the user-friendly form.
매개변수
| 이름 | 타입 | 설명 |
|---|---|---|
| address | string | Address in the raw form, for example "0:83dfd552e63729b472fcbcc8c45ebcc6691702558b68ec7527e1ba403a0f31a8". |
반환값
타입
string
The user-friendly address (base64url, bounceable).
코드 예제
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"
}
}'