Skip to main content

FeeControl

Calls

setEvmBaseFee

Namespace

api.tx.feeControl.setEvmBaseFee

Type

function setEvmBaseFee(
  value: U256
)

setLengthMultiplier

Namespace

api.tx.feeControl.setLengthMultiplier

Type

function setLengthMultiplier(
  value: u128
)

setWeightMultiplier

Namespace

api.tx.feeControl.setWeightMultiplier

Type

function setWeightMultiplier(
  value: Perbill
)

Storage

data

Namespace

api.query.feeControl.data

Type

function data(

): PalletFeeControlFeeControlFeeConfig

Events

EvmBaseFeeSet

The EVM base fee has been set to base_fee

Namespace

api.events.feeControl.EvmBaseFeeSet

Type

type EvmBaseFeeSet = {
  base_fee: U256
}

LengthMultiplierSet

The length multiplier has been set to length_multiplier

Namespace

api.events.feeControl.LengthMultiplierSet

Type

type LengthMultiplierSet = {
  length_multiplier: u128
}

WeightMultiplierSet

The weight multiplier has been set to weight_multiplier

Namespace

api.events.feeControl.WeightMultiplierSet

Type

type WeightMultiplierSet = {
  weight_multiplier: Perbill
}

undefinedundefined