Function getAccount

  • Retrieve information about a token account

    Parameters

    • connection: Connection

      Connection to use

    • address: PublicKey

      Token account

    • Optional commitment: Commitment

      Desired level of commitment for querying the state

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns Promise<Account>

    Token account information

Generated using TypeDoc