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

    Type Alias LedgerInfo

    Information about the current blockchain ledger, including its chain ID.

    type LedgerInfo = {
        block_height: string;
        chain_id: number;
        epoch: string;
        git_hash?: string;
        ledger_timestamp: string;
        ledger_version: string;
        node_role: RoleType;
        oldest_block_height: string;
        oldest_ledger_version: string;
    }
    Index

    Properties

    block_height: string
    chain_id: number

    Chain ID of the current chain

    epoch: string
    git_hash?: string

    Git hash of the build of the API endpoint. Can be used to determine the exact software version used by the API endpoint.

    ledger_timestamp: string
    ledger_version: string
    node_role: RoleType
    oldest_block_height: string
    oldest_ledger_version: string