ChainParamsOrBuilder

Functions

Link copied to clipboard
abstract fun getChainId(): ByteString
Constant chainId (32 bytes), obtained from get_info API
bytes chain_id = 1;
Link copied to clipboard
abstract fun getHeadBlockNumber(): Long
The last block number, obtained from get_info API
uint64 head_block_number = 2;
Link copied to clipboard
abstract fun getRefBlockPrefix(): Long
Block prefix of last block, obtained from get_block API
uint64 ref_block_prefix = 3;

Inheritors

Link copied to clipboard