EosioRpcBlockResponse
public struct EosioRpcBlockResponse : EosioRpcResponseProtocol, Decodable
Response struct for the get_block
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 newProducers: String?
-
Declaration
Swift
public let headerExtensions: [String]
-
Declaration
Swift
public let producerSignature: String
-
Declaration
Swift
public let transactions: [Any]
-
Declaration
Swift
public let blockExtensions: [Any]
-
Declaration
Swift
public let id: String
-
Declaration
Swift
public let blockNum: EosioUInt64
-
Declaration
Swift
public let refBlockPrefix: EosioUInt64
-
init(timestamp:
producer: confirmed: previous: transactionMroot: actionMroot: scheduleVersion: newProducers: headerExtensions: producerSignature: transactions: blockExtensions: id: blockNum: refBlockPrefix: ) Declaration
Swift
public init(timestamp: String, producer: String = "", confirmed: UInt = 0, previous: String = "", transactionMroot: String = "", actionMroot: String = "", scheduleVersion: UInt = 0, newProducers: String?, headerExtensions: [String] = [], producerSignature: String = "", transactions: [Any] = [Any](), blockExtensions: [Any] = [Any](), id: String, blockNum: EosioUInt64, refBlockPrefix: EosioUInt64)
-
Declaration
Swift
public init(from decoder: Decoder) throws