This node's local policy settings. Not consensus rules: they may differ between nodes and an operator can change them at runtime.

interface NodeSettings {
    blockGasLimit: number;
    dryRunGasLimit: number;
    maxAuthFunGas: number;
    mempoolNonceOffset: number;
    mempoolTxTtl: number;
    minMinerGasPrice: bigint;
}

Properties

blockGasLimit: number

Maximum total gas this node accepts in a single micro block (upper bound for a single transaction's gas)

dryRunGasLimit: number

Maximum total gas accepted by this node's dry-run endpoint

maxAuthFunGas: number

Maximum gas this node accepts for a generalized account authentication function (GAMetaTx)

mempoolNonceOffset: number

Maximum nonce distance from the current account nonce accepted into this node's mempool

mempoolTxTtl: number

Number of key blocks a transaction stays in this node's mempool

minMinerGasPrice: bigint

Minimum gas price this node's miner accepts (aettos per gas), as a decimal string. Transactions with a lower gas price are valid but not mined by this node.