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": {}
}Decode a given message. Only external incoming messages can be decoded currently.
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": {}
}Was this page helpful?