EosioRpcInfoResponseProtocol
public protocol EosioRpcInfoResponseProtocol
Protocol for get_info responses. RPC responses must contain these properties, at a minimum, in order to be compatible with the core EOSIO SDK for Swift library.
-
The chain ID.
Declaration
Swift
var chainId: String { get }
-
The block number of the latest (head) block.
Declaration
Swift
var headBlockNum: EosioUInt64 { get }
-
The timestamp on the latest (head) block.
Declaration
Swift
var headBlockTime: String { get }
-
The block number of the last irreversible block.
Declaration
Swift
var lastIrreversibleBlockNum: EosioUInt64 { get }