Algorand TypeScript
    Preparing search index...

    Function appOptedIn

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

      Parameters

      • a: uint64 | Account

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

      • b: uint64 | Application

      Returns boolean

      1 if opted in and 0 otherwise.

      Native TEAL opcode: app_opted_in Min AVM version: 2