This object contains the raw occurrence that matched your trigger. There are many different types of data objects and the dataType field inside the context object tells you the specific type you are currently working with.

DATA_TYPE_TRACE

This is the object that is returned from the node in response to a debug_traceTransaction rpc call with a callTracer tracer.

FieldTypeDescription
typestringThe type of the trace. Can be one of CALL, STATICCALL, DELEGATECALL, CALLCODE, CREATE, CREATE2, SUICIDE, SELFDESTRUCT, REWARD, REVERT.
errorstringThe error message if the transaction failed.
fromstringThe address of the sender.
tostringThe address of the receiver.
valuestringThe Wei value passed from the sender. The receiver can accept these funds or partially refund them.
gasstringThe amount of gas that was available for the transaction.
gasUsedstringThe amount of gas that was used by the transaction.
inputstringThe input data of the transaction. This usually begins with a 4 byte function signature, followed by the function's abi encoded arguments.
outputstringThe output data of the transaction.
timestringThe time the transaction took to execute.
callsarrayAn array of internal transactions.

DATA_TYPE_STORAGE_ACCESS

FieldTypeDescription
accessedSlotstringThe accessed slot.
initialValuestringThe value in the slot before this operation.
finalValuestringThe value in the slot after this operation.
storageAddressstringThe address of the contract whose storage is being changes.
logicAddressstringThe address of the contract that contains the code that is being executed (relevant for proxies).
innerPathstringThe inner path.
typestringThe type of access. One of: elementary, mapping, dynamic_array, raw.
baseSlotstringThe base slot value (if applicable).
keysstring listList of mapping keys.
indexesstring listList of array indexes.

DATA_TYPE_CONTRACT

This is the bytecode of a contract. It is a string that starts with 0x.

FieldTypeDescription
creatorstringThe address of the creator of the contract.
addressstringThe address of the newly deployed contract.
bytecodestringThe bytecode of the newly created contract.

DATA_TYPE_LOG

This is the standard event/log object (as returned from eth_getLogs):

FieldTypeDescription
addressstringThe address of the contract that emitted the event.
topicsarrayAn array of the topics of the event.
datastringThe data of the event.
blockNumberstringThe block number the event was emitted in.
transactionHashstringThe hash of the transaction that emitted the event.
transactionIndexstringThe index of the transaction in the block.
blockHashstringThe hash of the block the event was emitted in.
logIndexstringThe index of the event in the block.
removedbooleanWhether the event was removed.

DATA_TYPE_BLOCK

This is the standard block object (as returned from eth_getBlockByNumber or
eth_getBlockByHash):

FieldTypeDescription
headerobjectThe header of the block.
transactionsarrayAn array of the transactions in the block.

Block Header Object

FieldTypeDescription
parentHashstringThe hash of the parent block.
sha3UnclesstringThe hash of the uncles of the block.
minerstringThe address of the miner.
stateRootstringThe state root of the block.
transactionsRootstringThe transactions root of the block.
receiptsRootstringThe receipts root of the block.
logsBloomstringThe logs bloom of the block.
difficultystringThe difficulty of the block.
numberstringThe block number.
gasLimitstringThe gas limit of the block.
gasUsedstringThe gas used by the block.
timestampstringThe epoch timestamp of the block.
extraDatastringThe extra data of the block.
mixHashstringThe mix hash of the block.
noncestringThe nonce of the block.
baseFeePerGasstringThe base fee per gas of the block.
hashstringThe hash of the block.

Transaction Object

FieldTypeDescription
typestringThe type of the transaction. Can be one of 0x0 (EIP-1559), 0x1 (EIP-2930), 0x2 (Legacy).
hashstringThe hash of the transaction.
noncestringThe nonce of the transaction.
gasPricestringThe gas price of the transaction.
gasstringThe gas limit of the transaction.
tostringThe address of the receiver.
valuestringThe value of the transaction.
inputstringThe input data of the transaction.
vstringThe v value of the transaction.
rstringThe r value of the transaction.
sstringThe s value of the transaction.
maxFeePerGasstringThe max fee per gas of the transaction.
maxPriorityFeePerGasstringThe max priority fee per gas of the transaction.
accessListarrayThe access list of the transaction.
chainIdstringThe chain ID of the transaction.