Function betterGetTokenAccountsByOwner

  • A better way to get token accounts by owner

    Returns

    Parsed token accounts

    Parameters

    • connection: Connection

      Solana connection

    • owner: PublicKey

      the owner of the token accounts

    • programId: PublicKey = TOKEN_PROGRAM_ID

      the token program ID

    Returns Promise<Account[]>

Generated using TypeDoc