@solana/web3.js
    Preparing search index...

    Type Alias GetVersionedBlockConfig

    Configuration object for changing getBlock query behavior

    type GetVersionedBlockConfig = {
        commitment?: Finality;
        maxSupportedTransactionVersion?: number;
        rewards?: boolean;
        transactionDetails?: "accounts" | "full" | "none" | "signatures";
    }
    Index
    commitment?: Finality

    The level of finality desired

    maxSupportedTransactionVersion?: number

    The max transaction version to return in responses. If the requested transaction is a higher version, an error will be returned

    rewards?: boolean

    Whether to populate the rewards array. If parameter not provided, the default includes rewards.

    transactionDetails?: "accounts" | "full" | "none" | "signatures"

    Level of transaction detail to return, either "full", "accounts", "signatures", or "none". If parameter not provided, the default detail level is "full". If "accounts" are requested, transaction details only include signatures and an annotated list of accounts in each transaction. Transaction metadata is limited to only: fee, err, pre_balances, post_balances, pre_token_balances, and post_token_balances.