We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GetTokenSupplyApi
1 parent 32aa995 commit 62d28c6Copy full SHA for 62d28c6
packages/rpc-api/src/getTokenSupply.ts
@@ -2,7 +2,7 @@ import type { Address } from '@solana/addresses';
2
import type { RpcApiMethods } from '@solana/rpc-spec';
3
import type { Commitment, SolanaRpcResponse, TokenAmount } from '@solana/rpc-types';
4
5
-type GetTokenSupplyApiResponse = SolanaRpcResponse<TokenAmount>;
+type GetTokenSupplyApiResponse = TokenAmount;
6
7
export interface GetTokenSupplyApi extends RpcApiMethods {
8
/**
@@ -14,5 +14,5 @@ export interface GetTokenSupplyApi extends RpcApiMethods {
14
config?: Readonly<{
15
commitment?: Commitment;
16
}>,
17
- ): GetTokenSupplyApiResponse;
+ ): SolanaRpcResponse<GetTokenSupplyApiResponse>;
18
}
0 commit comments