Skip to content

Commit

Permalink
refactor(experimental): type reconciliation: GetLargestAccountsApi
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec authored and steveluscher committed Jul 2, 2024
1 parent 22c2b2a commit 9c7957f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rpc-api/src/getLargestAccounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type GetLargestAccountsResponseItem = Readonly<{
lamports: LamportsUnsafeBeyond2Pow53Minus1;
}>;

type GetLargestAccountsApiResponse = SolanaRpcResponse<GetLargestAccountsResponseItem[]>;
type GetLargestAccountsApiResponse = readonly GetLargestAccountsResponseItem[];

export interface GetLargestAccountsApi extends RpcApiMethods {
/**
Expand All @@ -22,5 +22,5 @@ export interface GetLargestAccountsApi extends RpcApiMethods {
/** Filter results by account type */
filter?: 'circulating' | 'nonCirculating';
}>,
): GetLargestAccountsApiResponse;
): SolanaRpcResponse<GetLargestAccountsApiResponse>;
}

0 comments on commit 9c7957f

Please sign in to comment.