Skip to main content

Table description

The aptos.move_resources table stores information about the Move resources on the Aptos blockchain. Move resources are persistent data structures that are owned by user accounts and can represent various on-chain assets or states. This table includes details on the resource type, the account that owns it, and the resource’s data.

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)
tx_hashVARBINARYUnique hash identifying the transaction
tx_versionUINT256Global sequential version number of the transaction
tx_gas_usedUINT256Amount of gas consumed by the transaction
tx_vm_statusVARCHARDetailed status message returned by the Move VM
tx_successBOOLEANWhether the transaction executed successfully
tx_state_change_hashVARBINARYHash of all state changes produced by the transaction
tx_event_root_hashVARBINARYMerkle root hash of all events emitted by the transaction
tx_state_checkpoint_hashVARBINARYHash of the state checkpoint after this transaction
tx_accumulator_root_hashVARBINARYRoot hash of the transaction accumulator after this transaction
write_set_change_indexINTEGERIndex of this state change within the transaction’s write set
write_set_change_typeVARCHARType of write set change (e.g. write_resource, delete_resource)
move_state_key_hashVARBINARYHash of the state key affected by this change
move_is_deletionBOOLEANWhether this change represents a deletion of the resource
move_dataVARCHARJSON-encoded data payload of the Move resource
move_addressVARBINARYAddress of the account that owns this resource
move_module_addressVARBINARYAddress of the module that defines this resource type
move_resource_moduleVARCHARName of the module that defines this resource type
move_resource_nameVARCHARName of the resource struct type
move_resource_generic_type_paramsARRAY(VARCHAR)Generic type parameters applied to this resource instance

Table Sample