@@ -24,9 +24,10 @@ import { retry } from '../../utils'
2424 * @param address - Account address
2525 * @returns Account info or null if not found
2626 */
27+ // eslint-disable-next-line no-unused-vars
2728export async function getAccountInfo (
28- _connection : Connection ,
29- _address : string
29+ connection : Connection ,
30+ address : string
3031) : Promise < {
3132 lamports : bigint
3233 owner : string
@@ -57,9 +58,10 @@ export async function getAccountInfo(
5758 * @param addresses - Array of account addresses
5859 * @returns Array of account info (null for non-existent accounts)
5960 */
61+ // eslint-disable-next-line no-unused-vars
6062export async function getMultipleAccounts (
61- _connection : Connection ,
62- _addresses : string [ ]
63+ connection : Connection ,
64+ addresses : string [ ]
6365) : Promise < Array < {
6466 address : string
6567 lamports : bigint
@@ -267,9 +269,10 @@ export async function tokenAccountExists(
267269 * @param mint - Token mint address
268270 * @returns Mint info
269271 */
272+ // eslint-disable-next-line no-unused-vars
270273export async function getMintInfo (
271- _connection : Connection ,
272- _mint : string
274+ connection : Connection ,
275+ mint : string
273276) : Promise < {
274277 address : string
275278 supply : bigint
@@ -299,10 +302,11 @@ export async function getMintInfo(
299302 * @param limit - Maximum number of holders to return
300303 * @returns Array of token holders sorted by balance
301304 */
305+ // eslint-disable-next-line no-unused-vars
302306export async function getLargestTokenHolders (
303- _connection : Connection ,
304- _mint : string ,
305- _limit : number = 20
307+ connection : Connection ,
308+ mint : string ,
309+ limit : number = 20
306310) : Promise < Array < {
307311 address : string
308312 balance : bigint
0 commit comments