Function fetchUserAccounts
- fetchUserAccounts(connection: Connection, program: Program<Idl>, authority: PublicKey, limit?: number): Promise<(UserAccount | undefined)[]>
-
Parameters
-
connection: Connection
-
program: Program<Idl>
-
-
limit: number = 8
Returns Promise<(UserAccount | undefined)[]>