select
tx_hash,
block_number,
contract_address,
decoded_log:from::string as from_address,
decoded_log:to::string as to_address,
decoded_log:value::integer as value
from ethereum.core.fact_decoded_event_logs
where contract_address = lower('0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48')
and block_number between 16400000 and 16405000
and event_name = 'Transfer'
limit 50```
## Columns
| Column Name | Data Type | Description |
| ------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| BLOCK_NUMBER | NUMBER | Also known as block height. The block number, which indicates the length of the blockchain, increases after the addition of each new block. |
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | The date and time at which the block was produced. |
| TX_HASH | TEXT | Transaction hash is a unique 66-character identifier that is generated when a transaction is executed. |
| TX_POSITION | NUMBER | The position of the transaction within the block. |
| EVENT_INDEX | NUMBER | Event number within a transaction. |
| CONTRACT_ADDRESS | TEXT | The address interacted with for a given event. |
| TOPICS | VARIANT | The un-decoded event input topics. |
| TOPIC_0 | TEXT | The first topic of the event, which is a unique identifier for the event. |
| TOPIC_1 | TEXT | The second topic of the event, if applicable. |
| TOPIC_2 | TEXT | The third topic of the event, if applicable. |
| TOPIC_3 | TEXT | The fourth topic of the event, if applicable. |
| DATA | TEXT | The un-decoded event data. |
| EVENT_REMOVED | BOOLEAN | Whether the event has been removed from the transaction. |
| ORIGIN_FROM_ADDRESS | TEXT | The from address at the transaction level. |
| ORIGIN_TO_ADDRESS | TEXT | The to address at the transaction level. |
| ORIGIN_FUNCTION_SIGNATURE | TEXT | The function signature of the contract call that triggered this transaction. |
| TX_SUCCEEDED | BOOLEAN | Whether the transaction was successful, returned as a boolean. |
| EVENT_NAME | TEXT | The name of the event, as defined in the contract ABI. |
| FULL_DECODED_DATA | VARIANT | This column will be deprecated on 3/10/2025. Please use `FULL_DECODED_LOG` instead. |
| DECODED_LOG | OBJECT | The flattened decoded log, where the keys are the names of the event parameters, and the values are the values of the event parameters. |
| CONTRACT_NAME | TEXT | The name of the contract, if the contract has a name() function. |
| EZ_DECODED_EVENT_LOGS_ID | TEXT | The unique identifier for each row in the table. |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The UTC timestamp at which the row was inserted into the table. |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The UTC timestamp at which the row was last modified. |
| FULL_DECODED_LOG | VARIANT | The full decoded log, including the event name, the event parameters, and the data type of the event parameters. |