Type for the expanded block detail. Here we have the transactions expanded with the details.

interface ExpandedBlockDetail {
    baseFeePerGas?: string;
    beneficiary: string;
    com?: boolean;
    gasLimit: number;
    gasUsed: number;
    id: string;
    isFinalized?: boolean;
    isTrunk: boolean;
    number: number;
    parentID: string;
    receiptsRoot: string;
    signer: string;
    size: number;
    stateRoot: string;
    timestamp: number;
    totalScore: number;
    transactions: TransactionsExpandedBlockDetail[];
    txsFeatures?: number;
    txsRoot: string;
}

Hierarchy (view full)

Properties

baseFeePerGas?: string

The minimum amount of fee required to include a transaction in the current block

beneficiary: string

Address of the beneficiary (miner) of the block.

com?: boolean

Indicates if the block contains a community fund (com).

gasLimit: number

Maximum gas limit for transactions in the block.

gasUsed: number

Total gas used by transactions in the block.

id: string

Unique identifier for the block.

isFinalized?: boolean

Indicates if the block is finalized (optional).

isTrunk: boolean

Since there is no computational competition in PoA, the "longest chain" rule does not apply. Instead, we consider the better branch as the one witnessed by more AMs (Authority Master nodes).

number: number

Block number in the blockchain.

parentID: string

Identifier of the parent block.

receiptsRoot: string

Root hash of the receipts of transactions.

signer: string

Address of the signer or validator for the block.

size: number

Size of the block in bytes.

stateRoot: string

Root hash of the state tree after applying transactions.

timestamp: number

Timestamp when the block was created.

totalScore: number

Represents the Accumulated Witness Number (AWN) of the block. It is used when selecting the trunk block in the VeChainThor consensus algorithm.

txsFeatures?: number

Optional features associated with transactions.

txsRoot: string

Root hash of the transactions in the block.