_algopy_testing.models.account

Module Contents

Classes

AccountFields

AccountContextData

Stores account-related information.

Account

API

class AccountFields

Bases: typing.TypedDict

clear()
copy()
get()
items()
keys()
pop()
popitem()
setdefault()
update()
values()
class AccountContextData

Stores account-related information.

Attributes: opted_asset_balances (dict[int, algopy.UInt64]): Mapping of asset IDs to balances. opted_apps (dict[int, algopy.UInt64]): Mapping of application IDs to instances. fields (AccountFields): Additional account fields.

class Account(
value: str | _algopy_testing.primitives.Bytes = algosdk.constants.ZERO_ADDRESS,
/,
)

Bases: _algopy_testing.protocols.BytesBacked

classmethod from_bytes(value: algopy.Bytes | bytes) Self
property bytes: _algopy_testing.primitives.Bytes