Skip to content

appOptedIn

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / appOptedIn

Function: appOptedIn()

appOptedIn(a, b): boolean

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

1 if account A is opted in to application B, else 0

Parameters

a

uint64 | Account

b

uint64 | Application

Returns

boolean

1 if opted in and 0 otherwise.

See

Native TEAL opcode: app_opted_in Min AVM version: 2