BaseFee
Calls
set_base_fee_per_gas
Attributes
Python
call = substrate.compose_call(
'BaseFee', 'set_base_fee_per_gas', {'fee': 'scale_info::55'}
)
set_elasticity
Attributes
Name |
Type |
elasticity |
Permill |
Python
call = substrate.compose_call(
'BaseFee', 'set_elasticity', {'elasticity': 'u32'}
)
set_is_active
Attributes
Python
call = substrate.compose_call(
'BaseFee', 'set_is_active', {'is_active': 'bool'}
)
Events
BaseFeeOverflow
Attributes
No attributes
IsActive
Attributes
Name |
Type |
Composition |
None |
bool |
bool |
NewBaseFeePerGas
Attributes
Name |
Type |
Composition |
None |
U256 |
scale_info::55 |
NewElasticity
Attributes
Name |
Type |
Composition |
None |
Permill |
u32 |
Storage functions
BaseFeePerGas
Python
result = substrate.query(
'BaseFee', 'BaseFeePerGas', []
)
Return value
'scale_info::55'
Elasticity
Python
result = substrate.query(
'BaseFee', 'Elasticity', []
)
Return value
'u32'
IsActive
Python
result = substrate.query(
'BaseFee', 'IsActive', []
)
Return value
'bool'