/packAddress - The Open Network (TON)

Example code for the /packAddress json-rpc method. Сomplete guide on how to use /packAddress json-rpc in GetBlock.io Web3 documentation.

Parameters

address - query

required, string

Identifier of target TON account in any form.

Request

curl --location --request GET 'https://ton.getblock.io/mainnet/packAddress?address=0:d76767392e7035d84ba6f83960b9399f62430ebcd7850a1e2b043d2d826c2370' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json'

Response

{
    "ok": true,
    "result": "EQDXZ2c5LnA12Eum+DlguTmfYkMOvNeFCh4rBD0tgmwjcFI+"
}

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.