algokit_transact_ffi

Function decode_transactions

Source
pub fn decode_transactions(
    encoded_txs: Vec<Vec<u8>>,
) -> Result<Vec<Transaction>, AlgoKitTransactError>
Expand description

Decodes a collection of MsgPack bytes into a transaction collection.

§Parameters

  • encoded_txs - A collection of MsgPack encoded bytes, each representing a transaction.

§Returns

A collection of decoded transactions or an error if decoding fails.