Skip to main content

Table description

The aptos.transactions table contains information about all transactions on the Aptos blockchain, including both user-initiated and system transactions. Transactions are the actions that modify the state of the blockchain, such as transfers of tokens or the execution of smart contracts. Each transaction is uniquely identified and linked to the block in which it was included.

Table Schema

ColumnTypeDescription
block_heightBIGINTSequential number identifying the block’s position in the chain
block_dateDATEDate of the block for daily aggregations
block_timeTIMESTAMPTimestamp when the block was committed
block_hashVARBINARYUnique cryptographic hash identifying the block
block_first_versionUINT256First transaction version included in the block
block_last_versionUINT256Last transaction version included in the block
block_proposerVARBINARYAddress of the validator that proposed the block
block_roundUINT256Consensus round number for the block
block_epochUINT256Epoch number during which the block was created
block_metadata_idVARBINARYUnique identifier for the block metadata event
block_failed_proposer_indicesARRAY(INTEGER)Indices of validators that failed to propose before this block
block_previous_block_votes_bitvecARRAY(SMALLINT)Bit vector of validator votes on the previous block
tx_indexINTEGERPosition of the transaction within the block
tx_typeVARCHARType of the transaction (e.g. user_transaction, block_metadata, state_checkpoint)
hashVARBINARYUnique hash identifying this transaction
versionUINT256Global sequential version number assigned to this transaction
gas_usedUINT256Amount of gas consumed by the transaction
vm_statusVARCHARDetailed status message returned by the Move VM after execution
successBOOLEANWhether the transaction executed successfully
state_change_hashVARBINARYHash of all state changes produced by the transaction
event_root_hashVARBINARYMerkle root hash of all events emitted by the transaction
state_checkpoint_hashVARBINARYHash of the state checkpoint after this transaction
accumulator_root_hashVARBINARYRoot hash of the transaction accumulator after this transaction
events_countINTEGERNumber of events emitted by this transaction
changes_countINTEGERNumber of state changes produced by this transaction

Table Sample