Function unpackAccount

  • Unpack a token account

    Parameters

    • address: PublicKey

      Token account

    • info: null | AccountInfo<Buffer>

      Token account data

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns Account

    Unpacked token account

Generated using TypeDoc