Skip to content

BaseFee


Calls


set_base_fee_per_gas

Attributes

Name Type
fee U256

Python

call = substrate.compose_call(
    'BaseFee', 'set_base_fee_per_gas', {'fee': 'scale_info::227'}
)

set_elasticity

Attributes

Name Type
elasticity Permill

Python

call = substrate.compose_call(
    'BaseFee', 'set_elasticity', {'elasticity': 'u32'}
)

Events


BaseFeeOverflow

Attributes

No attributes


NewBaseFeePerGas

Attributes

Name Type Composition
fee U256 scale_info::227

NewElasticity

Attributes

Name Type Composition
elasticity Permill u32

Storage functions


BaseFeePerGas

Python

result = substrate.query(
    'BaseFee', 'BaseFeePerGas', []
)

Return value

'scale_info::227'

Elasticity

Python

result = substrate.query(
    'BaseFee', 'Elasticity', []
)

Return value

'u32'