Aura¶
Storage functions¶
Authorities¶
The current authority set.
Python¶
result = substrate.query(
'Aura', 'Authorities', []
)
Return value¶
['[u8; 32]']
CurrentSlot¶
The current slot of this block.
This will be set in on_initialize
.
Python¶
result = substrate.query(
'Aura', 'CurrentSlot', []
)
Return value¶
'u64'
Constants¶
SlotDuration¶
The slot duration Aura should run with, expressed in milliseconds. The effective value of this type should not change while the chain is running.
For backwards compatibility either use [MinimumPeriodTimesTwo
] or a const.
Value¶
12000
Python¶
constant = substrate.get_constant('Aura', 'SlotDuration')