Skip to main content

Tron Mainnet Data Schema

Tron Mainnet datasets provide comprehensive on-chain data indexed and queryable through the Subsquid Network.

Available Data Types

Block data contains metadata about each block in the chain.
Field NameData TypeDescription
numberintegerBlock number
hashstringBlock hash
parent_hashstringParent block hash
timestampintegerBlock timestamp
witness_addressstringBlock producer address
witness_signaturestringBlock producer signature
merkle_root_hashstringMerkle root hash
tx_trie_rootstringTransaction trie root
Transaction data includes all executed transactions with their details.
Field NameData TypeDescription
hashstringTransaction hash
block_numberintegerBlock number
indexintegerTransaction index in block
successbooleanWhether transaction succeeded
resultstringTransaction result
energy_usageintegerEnergy consumed
energy_feeintegerEnergy fee paid
net_usageintegerBandwidth consumed
net_feeintegerBandwidth fee paid
Smart contract interaction data.
Field NameData TypeDescription
typestringContract type
parameterobjectContract parameters
providerstringContract provider
contract_namestringContract name
permission_idintegerPermission ID
Internal transaction traces.
Field NameData TypeDescription
hashstringInternal transaction hash
caller_addressstringCaller address
transferto_addressstringTransfer to address
call_value_infoarrayCall value information
notestringTransaction note
Event logs emitted during transaction execution.
Field NameData TypeDescription
addressstringContract address
topicsarrayLog topics
datastringLog data
block_numberintegerBlock number
transaction_hashstringTransaction hash