EosioRpcInfoResponse
public struct EosioRpcInfoResponse : EosioRpcInfoResponseProtocol, EosioRpcResponseProtocol, Decodable
Response struct for the get_info
RPC endpoint.
-
Declaration
Swift
public var _rawResponse: Any?
-
Declaration
Swift
public let serverVersion: String
-
Declaration
Swift
public let chainId: String
-
Declaration
Swift
public let headBlockNum: EosioUInt64
-
Declaration
Swift
public let lastIrreversibleBlockNum: EosioUInt64
-
Declaration
Swift
public let lastIrreversibleBlockId: String
-
Declaration
Swift
public let headBlockId: String
-
Declaration
Swift
public let headBlockTime: String
-
Declaration
Swift
public let headBlockProducer: String
-
Declaration
Swift
public let virtualBlockCpuLimit: EosioUInt64
-
Declaration
Swift
public let virtualBlockNetLimit: EosioUInt64
-
Declaration
Swift
public let blockCpuLimit: EosioUInt64
-
Declaration
Swift
public let blockNetLimit: EosioUInt64
-
Declaration
Swift
public let serverVersionString: String
-
init(serverVersion:
chainId: headBlockNum: lastIrreversibleBlockNum: lastIrreversibleBlockId: headBlockId: headBlockTime: headBlockProducer: virtualBlockCpuLimit: virtualBlockNetLimit: blockCpuLimit: blockNetLimit: serverVersionString: ) Declaration
Swift
public init(serverVersion: String = "", chainId: String, headBlockNum: EosioUInt64, lastIrreversibleBlockNum: EosioUInt64, lastIrreversibleBlockId: String, headBlockId: String, headBlockTime: String, headBlockProducer: String = "", virtualBlockCpuLimit: EosioUInt64 = EosioUInt64.uint64(0), virtualBlockNetLimit: EosioUInt64 = EosioUInt64.uint64(0), blockCpuLimit: EosioUInt64 = EosioUInt64.uint64(0), blockNetLimit: EosioUInt64 = EosioUInt64.uint64(0), serverVersionString: String = "")
-
Declaration
Swift
public init(from decoder: Decoder) throws