@lightprotocol/compressed-token - v0.23.0-beta.8
    Preparing search index...

    Function getAssociatedTokenAddressInterface

    • Derive the canonical associated token address for any of SPL/T22/light-token. Defaults to using light-token as the canonical associated token account.

      Parameters

      • mint: PublicKey

        Mint public key

      • owner: PublicKey

        Owner public key

      • allowOwnerOffCurve: boolean = false

        Allow owner to be a PDA. Default false.

      • programId: PublicKey = LIGHT_TOKEN_PROGRAM_ID

        Token program ID. Default light-token.

      • OptionalassociatedTokenProgramId: PublicKey

        Associated token program ID. Default auto-detected.

      Returns PublicKey

      Associated token address.