Interface BlockJSON

Hierarchy

  • BlockJSON

Properties

assets: {
    data: string;
    module: string;
}[]
header: {
    aggregateCommit: { readonly height: number; readonly aggregationBits: string; readonly certificateSignature: string; };
    assetRoot?: string;
    eventRoot?: string;
    generatorAddress: string;
    height: number;
    id?: string;
    impliesMaxPrevotes: boolean;
    maxHeightGenerated: number;
    maxHeightPrevoted: number;
    previousBlockID: string;
    signature?: string;
    stateRoot?: string;
    timestamp: number;
    transactionRoot?: string;
    validatorsHash?: string;
    version: number;
}

Type declaration

  • Readonly aggregateCommit: { readonly height: number; readonly aggregationBits: string; readonly certificateSignature: string; }
  • Optional Readonly assetRoot?: string
  • Optional Readonly eventRoot?: string
  • Readonly generatorAddress: string
  • Readonly height: number
  • Optional id?: string
  • Readonly impliesMaxPrevotes: boolean
  • Readonly maxHeightGenerated: number
  • Readonly maxHeightPrevoted: number
  • Readonly previousBlockID: string
  • Optional signature?: string
  • Optional Readonly stateRoot?: string
  • Readonly timestamp: number
  • Optional Readonly transactionRoot?: string
  • Optional Readonly validatorsHash?: string
  • Readonly version: number
transactions: TransactionJSON[]

Generated using TypeDoc