Skip to main content

BSC Data Schema

BSC datasets provide comprehensive on-chain data including blocks, transactions, and logs (events), traces (internal transactions). All data is indexed and queryable through Portal or v2 archives.

Available Data Types

Data fields for entity type.
Field NameData TypeDescription
Data TypeDescription
Block headers contain metadata about each block in the chain.
Field NameData TypeDescription
integerBlock number
Data fields for tx.
Field NameData TypeDescription
integerIndex of the transaction in the block
Event logs emitted by smart contracts during transaction execution.
Field NameData TypeDescription
integerIndex of the log in the block
Internal transactions and call traces showing execution flow within transactions.
Field NameData TypeDescription
integerIndex of the parent transaction
Data fields for state_diffs.
Field NameData TypeDescription
integerIndex of the parent transaction

Usage Examples

For code examples showing how to query this data, see: