Indexed on-chain data schemas

Overview

When you create a new pipeline, you have an option to choose from indexed on-chain data. To better understand what the schema looks like for this data, see the details below.

Decoded Logs

ColumnType
block_timeBIGINT
addressVARCHAR
event_signatureVARCHAR
event_paramsVARCHAR[]
block_numberBIGINT
block_hashVARCHAR
log_indexBIGINT
transaction_hashVARCHAR
transaction_indexBIGINT
dataVARCHAR
topicsVARCHAR
idVARCHAR

Raw Blocks

ColumnType
idVARCHAR
numberBIGINT
hashVARCHAR
parent_hashVARCHAR
nonceVARCHAR
sha3_unclesVARCHAR
logs_bloomVARCHAR
transactions_rootVARCHAR
state_rootVARCHAR
receipts_rootVARCHAR
minerVARCHAR
difficultyDOUBLE
total_difficultyDOUBLE
sizeBIGINT
extra_dataVARCHAR
gas_limitBIGINT
gas_usedBIGINT
timestampBIGINT
transaction_countBIGINT
base_fee_per_gasBIGINT

Raw Transactions

ColumnType
idVARCHAR
hashVARCHAR
nonceBIGINT
block_hashVARCHAR
block_numberBIGINT
transaction_indexBIGINT
from_addressVARCHAR
to_addressVARCHAR
valueVARCHAR
gasVARCHAR
gas_priceVARCHAR
inputVARCHAR
max_fee_per_gasVARCHAR
max_priority_fee_per_gasVARCHAR
transaction_typeBIGINT
block_timestampBIGINT

Raw Logs

ColumnType
block_timeBIGINT
block_numberBIGINT
block_hashVARCHAR
transaction_hashVARCHAR
transaction_indexBIGINT
log_indexBIGINT
addressVARCHAR
dataVARCHAR
topicsVARCHAR
idVARCHAR