Query messages(events)
How to work with contract event
How to work with contract events
About messages
Account messages are of 3 types:
External inbound (
msg_type
=1 orExtIn
). It is for example, deploy message or run message.Internal message(
msg_type
=0). It is when one contract calls another contract it sends an internal message. These messages are constructed with target contract ABI. Can be of 2 subtypes:Internal inbound (
IntIn
)Internal outbound (
IntOut
)
External outbound messages(
msg_type
=2 orExtOut
). These can be of 2 subtypes:Events - these are also specified in contract ABI.
Return - these are generated by contract function's return.
Query to messages
You can fetch events of you contract like this:
Usage
Query
Decode
Last updated