Avalanche SDK Client
    Preparing search index...

    Type Alias GetFeeConfigReturnType

    Return type for the platform.getFeeConfig method. Get the fee configuration for the P-Chain.

    type GetFeeConfigReturnType = {
        excessConversionConstant: bigint;
        maxCapacity: bigint;
        maxPerSecond: bigint;
        minPrice: bigint;
        targetPerSecond: bigint;
        weights: [bandwidth: number, dbRead: number, dbWrite: number, compute: number];
    }
    Index

    Properties

    excessConversionConstant: bigint

    A constant used to convert excess gas into a gas price

    maxCapacity: bigint

    The maximum amount of gas the chain is allowed to store for future use

    maxPerSecond: bigint

    The maximum amount of gas the chain is allowed to consume per second

    minPrice: bigint

    The minimum price per unit of gas

    targetPerSecond: bigint

    The target amount of gas the chain should consume per second to maintain stable fees

    weights: [bandwidth: number, dbRead: number, dbWrite: number, compute: number]

    Weights to merge fee dimensions into a single gas value