Class: Solana::Ruby::Kit::TransactionIntrospection::DecodedRpcTransaction

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/solana/ruby/kit/transaction_introspection/decode_rpc_transaction.rb

Overview

The result of decoding a getTransaction response: the CompiledTransactionMessage, the loaded ALT addresses pulled from meta (if any), and — for 'base64' and 'base58' responses — the re-encodable wire-format Transactions::Transaction.

transaction is nil for encoding: 'json' responses: the server has already decompiled the wire format, so there are no message bytes to round-trip. Fetch with encoding: 'base64' if you need a re-encodable Transaction.

Mirrors DecodedRpcTransaction from @solana/transaction-introspection.