Builder

class Builder
Represents current parameters of the FIO blockchain
Protobuf type TW.FIO.Proto.ChainParams

Functions

Link copied to clipboard
Constant chainId (32 bytes), obtained from get_info API
bytes chain_id = 1;
Link copied to clipboard
The last block number, obtained from get_info API
uint64 head_block_number = 2;
Link copied to clipboard
Block prefix of last block, obtained from get_block API
uint64 ref_block_prefix = 3;
Link copied to clipboard
open fun getChainId(): ByteString
Constant chainId (32 bytes), obtained from get_info API
bytes chain_id = 1;
Link copied to clipboard
The last block number, obtained from get_info API
uint64 head_block_number = 2;
Link copied to clipboard
Block prefix of last block, obtained from get_block API
uint64 ref_block_prefix = 3;
Link copied to clipboard
open fun setChainId(value: ByteString): FIO.ChainParams.Builder
Constant chainId (32 bytes), obtained from get_info API
bytes chain_id = 1;
Link copied to clipboard
The last block number, obtained from get_info API
uint64 head_block_number = 2;
Link copied to clipboard
Block prefix of last block, obtained from get_block API
uint64 ref_block_prefix = 3;