EosioRpcPushTransactionRequest
public struct EosioRpcPushTransactionRequest : Codable
Request struct for requests to v1/chain/push_transaction
.
To be compatible with EOSIO SDK for Swift, RPC endpoints must, at a minimum, accept these parameters.
-
Array of signatures as Strings.
Declaration
Swift
public var signatures: [String]
-
Compression
Declaration
Swift
public var compression: Int
-
Context free data, packed.
Declaration
Swift
public var packedContextFreeData: String
-
The serialized transaction as a hex String.
Declaration
Swift
public var packedTrx: String
-
Initialize an
EosioRpcPushTransactionRequest
.Declaration
Swift
public init(signatures: [String] = [], compression: Int = 0, packedContextFreeData: String = "", packedTrx: String = "")