Skip to content

addw

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / addw

Function: addw()

addw(a, b): readonly [uint64, uint64]

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

A plus B as a 128-bit result. X is the carry-bit, Y is the low-order 64 bits.

Parameters

a

uint64

b

uint64

Returns

readonly [uint64, uint64]

See

Native TEAL opcode: addw Min AVM version: 2