EosioRpcBlockInfoResponse
public struct EosioRpcBlockInfoResponse : EosioRpcBlockInfoResponseProtocol, EosioRpcResponseProtocol, Decodable
Response struct for the get_block_info
RPC endpoint.
-
Declaration
Swift
public var _rawResponse: Any?
-
Declaration
Swift
public let timestamp: String
-
Declaration
Swift
public let producer: String
-
Declaration
Swift
public let confirmed: UInt
-
Declaration
Swift
public let previous: String
-
Declaration
Swift
public let transactionMroot: String
-
Declaration
Swift
public let actionMroot: String
-
Declaration
Swift
public let scheduleVersion: UInt
-
Declaration
Swift
public let producerSignature: String
-
Declaration
Swift
public let id: String
-
Declaration
Swift
public let blockNum: EosioUInt64
-
Declaration
Swift
public let refBlockNum: EosioUInt64
-
Declaration
Swift
public let refBlockPrefix: EosioUInt64
-
init(timestamp:
producer: confirmed: previous: transactionMroot: actionMroot: scheduleVersion: producerSignature: id: blockNum: refBlockNum: refBlockPrefix: ) Declaration
Swift
public init(timestamp: String, producer: String = "", confirmed: UInt = 0, previous: String = "", transactionMroot: String = "", actionMroot: String = "", scheduleVersion: UInt = 0, producerSignature: String = "", id: String, blockNum: EosioUInt64, refBlockNum: EosioUInt64, refBlockPrefix: EosioUInt64)
-
Declaration
Swift
public init(from decoder: Decoder) throws