Algorand TypeScript
    Preparing search index...

    Variable ScratchConst

    Scratch: {
        loadBytes(a: uint64): bytes;
        loadUint64(a: uint64): uint64;
        store(a: uint64, b: uint64 | bytes): void;
    } = ...

    Load or store scratch values

    Type declaration

    • loadBytes: function
      • Ath scratch space value. All scratch spaces are 0 at program start.

        Parameters

        Returns bytes

        Native TEAL opcode: loads Min AVM version: 5

    • loadUint64: function
      • Ath scratch space value. All scratch spaces are 0 at program start.

        Parameters

        Returns uint64

        Native TEAL opcode: loads Min AVM version: 5

    • store: function