@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Type Alias GasPrice

    Gas price information from Ethereum RPC, containing current network fee data for transaction cost estimation and execution. Values are native bigint (wei). The public Salt.getGasPrice wraps these as BigNumber for the ethers-typed public API.

    type GasPrice = {
        gasPrice: bigint;
        lastBaseFeePerGas: bigint;
        maxFeePerGas: bigint;
        maxPriorityFeePerGas: bigint;
    }
    Index

    Properties

    gasPrice: bigint

    Legacy gas price for pre-EIP-1559 transactions Used for Type 0 and Type 1 transactions on networks that support them

    lastBaseFeePerGas: bigint

    The base fee per gas from the most recent block (EIP-1559) This is the minimum fee required for transaction inclusion

    maxFeePerGas: bigint

    The maximum total fee per gas willing to pay (base fee + priority fee) This caps the total transaction cost in case of network congestion

    maxPriorityFeePerGas: bigint

    The maximum priority fee (tip) per gas to incentivize miners/validators This is added to the base fee to prioritize transaction inclusion