Function betterGetTokenAccountsByOwner
- betterGetTokenAccountsByOwner(connection: Connection, owner: PublicKey, programId?: PublicKey): Promise<Account[]>
-
Parameters
-
connection: Connection
-
owner: PublicKey
-
programId: PublicKey = TOKEN_PROGRAM_ID
Returns Promise<Account[]>
A better way to get token accounts by owner
Returns
Parsed token accounts