Import
Signature
Decode transaction bytes to DecodedTransactionInfo. Handles both signed and unsigned transactions.

Parameters

bytes
required
Msgpack-encoded transaction bytes.

Returns

DecodedTransactionInfo
DecodedTransactionInfo with extracted data.

Raises

  • TransactionDecodeError: If decoding fails (subclass of ValueError).
Source: x402_algorand/utils.py