Type Alias XChainBlockType
XChainBlockType: { block: { height: number; id: string; merkleRoot: string; parentID: string; time: number; txs: (...)[] }; encoding: "json" } | { block: string; encoding: "hex" }
Type declaration
- { block: { height: number; id: string; merkleRoot: string; parentID: string; time: number; txs: (...)[] }; encoding: "json" }
block: { height: number; id: string; merkleRoot: string; parentID: string; time: number; txs: (...)[] }
height: number
id: string
merkleRoot: string
parentID: string
time: number
txs: (...)[]
encoding: "json"
- { block: string; encoding: "hex" }
block: string
encoding: "hex"
Represents an X-Chain block in either JSON or hex format. The X-Chain is Avalanche's native platform for creating and trading assets.