Skip to content

ABIReturn

class algokit_utils.applications.abi.ABIReturn(result: algosdk.atomic_transaction_composer.ABIResult)

Section titled “class algokit_utils.applications.abi.ABIReturn(result: algosdk.atomic_transaction_composer.ABIResult)”

Represents the return value from an ABI method call.

Wraps the raw return value and decoded value along with any decode errors.

The raw return value from the method call

The decoded return value from the method call

method : algosdk.abi.method.Method | None = None

Section titled “method : algosdk.abi.method.Method | None = None”

The ABI method definition

The exception that occurred during decoding, if any

The transaction info for the method call from raw algosdk ABIResult

Returns True if the ABI call was successful (no decode error)

  • Returns: True if no decode error occurred, False otherwise

Gets the ARC-56 formatted return value.

  • Parameters:
    • method – The ABI method definition
    • structs – Dictionary of struct definitions
  • Returns: The decoded return value in ARC-56 format