ドキュメント
料金GitHubダッシュボード

TON

packAddress5クレジット

Converts a raw address (`workchain:hex`) to the user-friendly form.

ネットワーク: ton

パラメータ

名前型説明
addressstringAddress 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"
  }
}'