Skip to main content

Astar Data Schema

Astar 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
state_rootstringState root hash
extrinsics_rootstringExtrinsics root hash
spec_versionintegerRuntime specification version
Extrinsics (transactions) submitted to the network.
Field NameData TypeDescription
indexintegerExtrinsic index in block
hashstringExtrinsic hash
callobjectCall data
signatureobjectSignature information
successbooleanWhether extrinsic succeeded
errorobjectError information if failed
Event data emitted by the network.
Field NameData TypeDescription
indexintegerEvent index in block
extrinsic_indexintegerRelated extrinsic index
phasestringEvent phase (initialization, apply_extrinsic, finalization)
palletstringPallet name
namestringEvent name
argsobjectEvent arguments
Data fields for smart contracts.
Field NameData TypeDescription
contract_addressstringContract address
code_hashstringContract code hash
storage_depositintegerStorage deposit amount
instantiate_dataobjectContract instantiation data