Skip to content

models.state

TealTemplateParams
BoxIdentifier
BoxNameThe name of the box
BoxValueThe value of the box
DataTypeFlagEnum where members are also (and must be) ints
BoxReferenceRepresents a box reference with a foreign app index and the box name.

The name of the box

The name of the box as a string. If the name can’t be decoded from UTF-8, the string representation of the bytes is returned instead.

The name of the box as raw bytes

The name of the box as a base64 encoded string

The value of the box

The name of the box

The value of the box as raw bytes

class algokit_utils.models.state.DataTypeFlag

Section titled “class algokit_utils.models.state.DataTypeFlag”

Bases: enum.IntEnum

Enum where members are also (and must be) ints

type algokit*utils.models.state.TealTemplateParams *= Mapping[str, str | int | bytes] | dict[str, str | int | bytes]_

Section titled “type algokit*utils.models.state.TealTemplateParams *= Mapping[str, str | int | bytes] | dict[str, str | int | bytes]_”

type algokit*utils.models.state.BoxIdentifier *= str | bytes | AccountTransactionSigner_

Section titled “type algokit*utils.models.state.BoxIdentifier *= str | bytes | AccountTransactionSigner_”

class algokit_utils.models.state.BoxReference(app_id: int, name: bytes | str)

Section titled “class algokit_utils.models.state.BoxReference(app_id: int, name: bytes | str)”

Bases: algosdk.box_reference.BoxReference

Represents a box reference with a foreign app index and the box name.

Args: : app_index (int): index of the application in the foreign app array name (bytes): key for the box in bytes