@aptos-labs/ts-sdk - v5.1.4
    Preparing search index...

    Type Alias BlockMetadataTransactionResponse

    The structure representing a blockchain block with its height.

    type BlockMetadataTransactionResponse = {
        accumulator_root_hash: string;
        changes: WriteSetChange[];
        epoch: string;
        event_root_hash: string;
        events: Event[];
        failed_proposer_indices: number[];
        gas_used: string;
        hash: string;
        id: string;
        previous_block_votes_bitvec: number[];
        proposer: string;
        round: string;
        state_change_hash: string;
        state_checkpoint_hash: string | null;
        success: boolean;
        timestamp: string;
        type: BlockMetadata;
        version: string;
        vm_status: string;
    }
    Index

    Properties

    accumulator_root_hash: string
    changes: WriteSetChange[]

    Final state of resources changed by the transaction

    epoch: string
    event_root_hash: string
    events: Event[]

    The events emitted at the block creation

    failed_proposer_indices: number[]

    The indices of the proposers who failed to propose

    gas_used: string
    hash: string
    id: string
    previous_block_votes_bitvec: number[]

    Previous block votes

    proposer: string
    round: string
    state_change_hash: string
    state_checkpoint_hash: string | null
    success: boolean

    Whether the transaction was successful

    timestamp: string
    version: string
    vm_status: string

    The VM status of the transaction, can tell useful information in a failure