Era

An era, a period defined by a starting block and length
Protobuf type TW.Polkadot.Proto.Era

Types

Link copied to clipboard
class Builder
An era, a period defined by a starting block and length
Protobuf type TW.Polkadot.Proto.Era

Functions

Link copied to clipboard
open fun getBlockNumber(): Long
recent block number (called phase in polkadot code), should match block hash
uint64 block_number = 1;
Link copied to clipboard
open fun getDefaultInstance(): Era
Link copied to clipboard
open fun getPeriod(): Long
length of period, calculated from block number, e.g. 64
uint64 period = 2;
Link copied to clipboard
open fun newBuilder(prototype: Era): Polkadot.Era.Builder
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): Era
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Era
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): Era
open fun parseFrom(data: ByteString): Era
open fun parseFrom(input: CodedInputStream): Era
open fun parseFrom(input: InputStream): Era
open fun parseFrom(data: ByteBuffer): Era
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Era
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Era
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Era
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Era
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Era
Link copied to clipboard
open fun parser(): Parser<Era>

Properties

Link copied to clipboard
Link copied to clipboard