near-api-js - v7.4.0
    Preparing search index...

    Type Alias VmConfigView

    type VmConfigView = {
        bls12381_not_in_group_fix?: boolean;
        chain_id_host_fn?: boolean;
        discard_custom_sections?: boolean;
        eth_implicit_accounts?: boolean;
        eth_implicit_global_contract?: boolean;
        ext_costs?: ExtCostsConfigView;
        fix_contract_loading_cost?: boolean;
        gas_key_host_fns?: boolean;
        global_contract_host_fns?: boolean;
        grow_mem_cost?: number;
        implicit_account_creation?: boolean;
        limit_config?: LimitConfig;
        linear_op_base_cost?: number;
        linear_op_unit_cost?: number;
        one_yocto_on_promise?: boolean;
        p256_verify_host_fn?: boolean;
        reftypes_bulk_memory?: boolean;
        regular_op_cost?: number;
        storage_get_mode?: StorageGetMode;
        vm_kind?: VmKind;
        yield_with_id_host_fns?: boolean;
    }
    Index
    bls12381_not_in_group_fix?: boolean
    chain_id_host_fn?: boolean
    discard_custom_sections?: boolean
    eth_implicit_accounts?: boolean
    eth_implicit_global_contract?: boolean
    ext_costs?: ExtCostsConfigView

    Costs for runtime externals

    fix_contract_loading_cost?: boolean
    gas_key_host_fns?: boolean
    global_contract_host_fns?: boolean
    grow_mem_cost?: number

    Gas cost of a growing memory by single page.

    implicit_account_creation?: boolean

    Deprecated

    limit_config?: LimitConfig

    Describes limits for VM and Runtime.

    TODO: Consider changing this to VMLimitConfigView to avoid dependency on runtime.

    linear_op_base_cost?: number

    Base gas cost of a linear operation

    linear_op_unit_cost?: number

    Unit gas cost of a linear operation

    one_yocto_on_promise?: boolean
    p256_verify_host_fn?: boolean
    reftypes_bulk_memory?: boolean
    regular_op_cost?: number

    Gas cost of a regular operation.

    storage_get_mode?: StorageGetMode
    vm_kind?: VmKind
    yield_with_id_host_fns?: boolean