> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Inputs

### 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.                   |
