salt-sdk
    Preparing search index...

    Type Alias GasPrice

    Gas price information from Ethereum RPC, containing current network fee data for transaction cost estimation and execution

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

    Properties

    gasPrice: BigNumber

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

    lastBaseFeePerGas: BigNumber

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

    maxFeePerGas: BigNumber

    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: BigNumber

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