Moonbeam Data Schema
Moonbeam datasets provide comprehensive on-chain data indexed and queryable through the Subsquid Network.Available Data Types
Blocks
Blocks
Block data contains metadata about each block in the chain.
| Field Name | Data Type | Description |
|---|---|---|
number | integer | Block number |
hash | string | Block hash |
parent_hash | string | Parent block hash |
timestamp | integer | Block timestamp |
state_root | string | State root hash |
extrinsics_root | string | Extrinsics root hash |
spec_version | integer | Runtime specification version |
Extrinsics
Extrinsics
Extrinsics (transactions) submitted to the network.
| Field Name | Data Type | Description |
|---|---|---|
index | integer | Extrinsic index in block |
hash | string | Extrinsic hash |
call | object | Call data |
signature | object | Signature information |
success | boolean | Whether extrinsic succeeded |
error | object | Error information if failed |
Events
Events
Event data emitted by the network.
| Field Name | Data Type | Description |
|---|---|---|
index | integer | Event index in block |
extrinsic_index | integer | Related extrinsic index |
phase | string | Event phase (initialization, apply_extrinsic, finalization) |
pallet | string | Pallet name |
name | string | Event name |
args | object | Event arguments |
EVM Integration
EVM Integration
Data fields for evm integration.
| Field Name | Data Type | Description |
|---|---|---|
ethereum_transaction_hash | string | Ethereum-compatible transaction hash |
ethereum_block_hash | string | Ethereum-compatible block hash |
ethereum_logs | array | EVM logs for Ethereum compatibility |

