Skip to main content Link Menu Expand (external link) Document Search Copy Copied

OneTxLog

Model getters

Method name Return type Description Notes
getAddress() string From which this event originated from.
Example: 0x81b7E08F65Bdf5648606c89998A9CC8164397647
[optional]
getTopics() string[] An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.
Example: null
[optional]
getData() string The data containing non-indexed log parameter.
Example: null
[optional]
getLogIndex() float Integer of the event index position in the block.
Example: null
[optional]
getBlockNumber() float Block number where this transaction was in.
Example: 6470854
[optional]
getBlockHash() string Hash of the block.
Example: 0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc
[optional]
getTransactionIndex() float Integer of the transaction’s index position, the event was created in.
Example: null
[optional]
getTransactionHash() string Hash of the transaction this event was created in.
Example: 0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7
[optional]