EosioRpcTransactionResponseProtocol

public protocol EosioRpcTransactionResponseProtocol

Protocol for push_transaction responses. RPC responses must contain these properties, at a minimum, in order to be compatible with the core EOSIO SDK for Swift library.

  • The transaction ID.

    Declaration

    Swift

    var transactionId: String { get }
  • Return action values, if any. The returned values are placed in their respective actions. Array must contain nil for the actions that do not return action values. There may be more action values than input actions due to inline actions or notifications but input (request) actions are always returned first and in the same order as they were submitted in the transaction.

    Declaration

    Swift

    func returnActionValues() -> [Any?]