Skip to main content

Table Details

PropertyValue
Table Namebitcoin_cash.raw.transactions
Table StatusProduction-Ready
Unique Keyblock_timestamp, hash
Clustering Key(s)to_date("block_timestamp")
Search Optimizationhash

Table Columns

Column NameData TypeDescription
hashVARCHAR(66)Transaction hash.
sizeNUMBER(38,0)The serialized transaction size.
virtual_sizeNUMBER(38,0)The virtual transaction size (differs from size for witness transactions).
versionNUMBER(38,0)The transaction version number.
lock_timeNUMBER(38,0)The transaction lock time.
indexNUMBER(38,0)The index of the transaction within the block.
block_hashVARCHAR(66)Block hash of the transaction.
block_numberNUMBER(38,0)Block number or block height of the transaction.
block_timestampTIMESTAMP_NTZ(9)Block timestamp of the transaction.
input_countNUMBER(38,0)The total number of inputs in the transaction.
output_countNUMBER(38,0)The total number of outputs in the transaction.
output_valueNUMBER(38,0)Total value of outputs in the transaction in sats. One sat = 1e-8 BCH.
is_coinbaseBOOLEANWhether the transaction is a coinbase transaction, which is the first transaction in a block.
_created_atTIMESTAMP_NTZ(9)Timestamp of when the entry was created in the database.
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the entry was last updated in the database.
output_value_strVARCHAR(16777216)String of the total output value of the transaction in sats. One sat = 1e-8 BCH.
output_value_floatFLOATThe total output value of the transaction as a float in sats. One sat = 1e-8 BCH.
txidVARCHAR(16777216)Transaction ID (the non-witness transaction hash).