Skip to content

Commit 9c7957f

Browse files
buffalojoecsteveluscher
authored andcommitted
refactor(experimental): type reconciliation: GetLargestAccountsApi
1 parent 22c2b2a commit 9c7957f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rpc-api/src/getLargestAccounts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type GetLargestAccountsResponseItem = Readonly<{
99
lamports: LamportsUnsafeBeyond2Pow53Minus1;
1010
}>;
1111

12-
type GetLargestAccountsApiResponse = SolanaRpcResponse<GetLargestAccountsResponseItem[]>;
12+
type GetLargestAccountsApiResponse = readonly GetLargestAccountsResponseItem[];
1313

1414
export interface GetLargestAccountsApi extends RpcApiMethods {
1515
/**
@@ -22,5 +22,5 @@ export interface GetLargestAccountsApi extends RpcApiMethods {
2222
/** Filter results by account type */
2323
filter?: 'circulating' | 'nonCirculating';
2424
}>,
25-
): GetLargestAccountsApiResponse;
25+
): SolanaRpcResponse<GetLargestAccountsApiResponse>;
2626
}

0 commit comments

Comments
 (0)