Appearance
Log
One event that a contract emitted. The log and filter methods and the receipts return it.
Fields
| Field | Type | Meaning |
|---|---|---|
address | address | The contract that emitted the log. |
topics | list of 0 to 4 32-byte values | The indexed values. Topic 0 is usually the hash of the event signature. |
data | hex data | The values that are not indexed, ABI-encoded. |
blockHash | 32-byte hash | The block of the log. |
blockNumber | hex number | The number of that block. |
blockTimestamp | hex number | The time of that block. |
transactionHash | 32-byte hash | The transaction that emitted the log. |
transactionIndex | hex number | The position of that transaction in the block. |
logIndex | hex number | The position of the log in the block (not in the transaction). |
removed | boolean | false. A logs subscription sends true for a log of a block that a reorg removed. |