Skip to content

appOptedIn

Algorand TypeScript


Algorand TypeScript / op / appOptedIn

appOptedIn(a, b): boolean

Defined in: op.ts:329

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

Txn.Accounts offset (or, since v4, an available account address), available application id (or, since v4, a Txn.ForeignApps offset).

uint64 | Account

uint64 | Application

boolean

1 if opted in and 0 otherwise.

Native TEAL opcode: app_opted_in Min AVM version: 2