EraOrBuilder

interface EraOrBuilder

Functions

Link copied to clipboard
abstract fun getBlockNumber(): Long
recent block number (called phase in polkadot code), should match block hash
uint64 block_number = 1;
Link copied to clipboard
abstract fun getPeriod(): Long
length of period, calculated from block number, e.g. 64
uint64 period = 2;

Inheritors

Link copied to clipboard