Skip to content

Scratch

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / Scratch

Variable: Scratch

const Scratch: object

Defined in: packages/algo-ts/src/op.ts:3292

Load or store scratch values

Type declaration

loadBytes()

Ath scratch space value. All scratch spaces are 0 at program start.

Parameters

a

uint64

Returns

bytes

See

Native TEAL opcode: loads Min AVM version: 5

loadUint64()

Ath scratch space value. All scratch spaces are 0 at program start.

Parameters

a

uint64

Returns

uint64

See

Native TEAL opcode: loads Min AVM version: 5

store()

store B to the Ath scratch space

Parameters

a

uint64

b

uint64 | bytes

Returns

void

See

Native TEAL opcode: stores Min AVM version: 5