Algorand TypeScript
    Preparing search index...

    Type Alias StateTotals

    Options class to manually define the total amount of global and local state contract will use.

    This is not required when all state is assigned to this., but is required if a contract dynamically interacts with state via AppGlobal.getBytes etc, or if you want to reserve additional state storage for future contract updates, since the Algorand protocol doesn't allow increasing them after creation.

    type StateTotals = {
        globalBytes?: number;
        globalUints?: number;
        localBytes?: number;
        localUints?: number;
    }
    Index

    Properties

    globalBytes?: number
    globalUints?: number
    localBytes?: number
    localUints?: number