algokit_transact_ffi

Function encode_signed_transactions

Source
pub fn encode_signed_transactions(
    signed_txs: Vec<SignedTransaction>,
) -> Result<Vec<Vec<u8>>, AlgoKitTransactError>
Expand description

Encode signed transactions to MsgPack for sending on the network.

This method performs canonical encoding. No domain separation prefix is applicable.

§Parameters

  • signed_txs - A collection of signed transactions to encode

§Returns

A collection of MsgPack encoded bytes or an error if encoding fails.