Table Details
| Property | Value |
|---|---|
| Table Name | bitcoin_cash.raw.inputs |
| Table Status | Production-Ready |
| Unique Key | block_timestamp, transaction_hash, index |
| Clustering Key(s) | to_date("block_timestamp") |
| Search Optimization | spent_utxo_id, transaction_hash, spent_transaction_hash |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| spent_transaction_hash | VARCHAR(66) | The transaction hash of the output being spent. |
| spent_output_index | NUMBER(38,0) | The index of the output being spent. |
| script_asm | VARCHAR(16777216) | The script public key in the form of a string. |
| script_hex | VARCHAR(16777216) | Hexadecimal representation of the script language op-codes. |
| sequence | NUMBER(38,0) | The sequence number of the script. |
| coinbase | VARCHAR(16777216) | The coinbase field, present only for the coinbase input of a newly mined block. |
| index | NUMBER(38,0) | The index of the input. |
| input_id | VARCHAR(16777216) | Input ID generated from transaction hash and index. |
| spent_utxo_id | VARCHAR(16777216) | Spent UTXO ID generated from the spent transaction hash and output index. |
| transaction_hash | VARCHAR(66) | Hash of the transaction containing the input. |
| block_hash | VARCHAR(66) | Block hash of the transaction input. |
| block_number | NUMBER(38,0) | Block number or block height of the transaction input. |
| block_timestamp | TIMESTAMP_NTZ(9) | Block timestamp of the transaction input. |
| _created_at | TIMESTAMP_NTZ(9) | Timestamp of when the entry was created in the database. |
| _updated_at | TIMESTAMP_NTZ(9) | Timestamp of when the entry was last updated in the database. |