Decode Messages(Event)
How to decode messages with ABI
SDK can decode ABI-compatible External Inbound, External Outbound and Internal messages.
Types of messages
ABI-compatible contracts generate abi-compatible messages, or, to be exact, abi-compatible message bodies :)
So, if you have ABI on hands, you can decode these messages.
You can use both full message boc for decoding and only message body for decoding.
Let's decode!
Core SDK provides
decode_message
method for full boc of message decodingdecode_message_body
method for only message body decoding.
Usage
Sample source code
Core
AppKit
https://github.com/tonlabs/sdk-samples/tree/master/appkit-examples/listen-and-decode
Last updated