Skip to content

Commit 62d28c6

Browse files
committed
refactor(experimental): type reconciliation: GetTokenSupplyApi
1 parent 32aa995 commit 62d28c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rpc-api/src/getTokenSupply.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Address } from '@solana/addresses';
22
import type { RpcApiMethods } from '@solana/rpc-spec';
33
import type { Commitment, SolanaRpcResponse, TokenAmount } from '@solana/rpc-types';
44

5-
type GetTokenSupplyApiResponse = SolanaRpcResponse<TokenAmount>;
5+
type GetTokenSupplyApiResponse = TokenAmount;
66

77
export interface GetTokenSupplyApi extends RpcApiMethods {
88
/**
@@ -14,5 +14,5 @@ export interface GetTokenSupplyApi extends RpcApiMethods {
1414
config?: Readonly<{
1515
commitment?: Commitment;
1616
}>,
17-
): GetTokenSupplyApiResponse;
17+
): SolanaRpcResponse<GetTokenSupplyApiResponse>;
1818
}

0 commit comments

Comments
 (0)