Skip to main content
POST
/
v2
/
message
/
decode
cURL
curl --request POST \
  --url https://tonapi.io/v2/message/decode \
  --header 'Content-Type: application/json' \
  --data '
{
  "boc": "<string>"
}
'
{
  "destination": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "is_scam": true,
    "is_wallet": true,
    "name": "Ton foundation",
    "icon": "https://ton.org/logo.png"
  },
  "destination_wallet_version": "v3R2",
  "ext_in_msg_decoded": {}
}

Body

application/json

bag-of-cells serialized to hex

boc
string<cell>
required

Response

decoded message

destination
object
required
destination_wallet_version
string
required
Example:

"v3R2"

ext_in_msg_decoded
object