Skip to main content
Schema: cosmos.core Table: fact_transactions Type: View Records of all transactions that have occurred on Cosmos, dating back to the genesis block. NOTE - FOR CHAIN VERSIONS 1-3 THE TX_FROM, FEE, AND FEE_DENOM COLUMNS ARE ALWAYS NULL. (This info may be available in the msgs column, but we are not parsing it out at this time.)

Columns

Column NameData TypeDescription
BLOCK_IDNUMBERThe block height the block was recorded at.
BLOCK_TIMESTAMPTIMESTAMP_NTZThe date and time at which the block began.
TX_IDTEXTA unique key that identifies a transaction. Called “TxHash” on block explorers.
TX_FROMTEXTThe wallet address of the individual who initiated the transaction
TX_SUCCEEDEDBOOLEANTransaction status is “TRUE” if the transaction went through, “FALSE” if the transaction failed.
CODESPACEVARIANTNamespace for the code.
FEETEXTThe fee is paid by the initiator of the transaction. Fee = gas * gas price.
FEE_DENOMTEXTThe denominator of the transaction fee.
GAS_USEDNUMBERThe amount of gas consumed by the transaction.
GAS_WANTEDNUMBERAmount of gas requested for a transaction. It is provided by users when the transaction is generated.
TX_CODENUMBERA number that corresponds to various error codes. When “0”, the transaction is successful. Non-zero numbers signify different types of transaction failures.
TX_LOGTEXTA string that contains the transaction logs, which are logs written by the program interacted with during the transaction.
MSGSVARIANTThe underlying json from the messages or events within the transactions
_INSERTED_TIMESTAMPTIMESTAMP_NTZ
UNIQUE_KEYTEXTThe unique key for the table.
FACT_TRANSACTIONS_IDTEXTThe unique identifier for each row in the table.
INSERTED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was inserted into the table.
MODIFIED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was last modified.