Skip to main content

Execution Events

The execution events are generated in case of transaction with smart contract call or ESDT transaction or built-in function calls.

Complete transaction event​

The completedTxEvent event is generated when the execution of a transaction is completed, indicating that the generated smart contract results have also been executed.

FieldValue
identifiercompletedTxEvent
addressthe address that emitted the event
topicsempty
dataempty

Informative event​

An informative event is generated after the execution of a smart contract call transaction, which includes data about the execution.

FieldValue
identifierwriteLog
addressthe address that emitted the event
topicsempty
datareturned code after execution base64 encoded

Signal error event​

The signalError event is generated when a transaction involving a smart contract call has been executed but encountered an error in the process.

FieldValue
identifiersignalError
addressthe address that emitted the event
topicstopics[0] - caller address bytes base64 encoded
topics[1] - the execution error message base64 encoded
datareturned code after execution base64 encoded

Internal errors event​

The internalVMErrors event is generated when a transaction involving multiple smart contract calls has been executed but encountered an error in the process.

FieldValue
identifierinternalVMErrors
addressthe address that emitted the event
topicstopics[0] - caller address bytes base64 encoded
topics[1] - the execution error message base64 encoded
dataa message with more details about the encountered error base64 encoded

Transfer value only event​

The transferValueOnly event is generated when a transaction involving multiple smart contract calls has been executed, and during the execution, some EGLD tokens were transferred from one smart contract to another.

FieldValue
identifiertransferValueOnly
addressthe destination address
topicstopics[0] - sender address bytes base64 encoded
topics[1] - destination address bytes base64 encoded
topics[2] - transferred value bytes base64 encoded
dataempty
Important

From the rc/v1.6.0 release onward, the transferValueOnly will undergo a modification once the ScToScLogEventEnableEpoch flag is activated as follows:

FieldValue
identifiertransferValueOnly
addressthe sender address
topicstopics[0] - transferred value bytes base64 encoded
topics[1] - destination address bytes base64 encoded
dataempty