6
6
} from '../../../types/evm/statistic/request-params' ;
7
7
import {
8
8
QueryAccountOverviewResponse ,
9
+ QueryBlueChipStatisticsResponse ,
9
10
QueryCollectionRankingResponse ,
10
11
QueryCollectionStatisticsResponse ,
11
12
QueryCollectionTradeResponse ,
@@ -144,7 +145,7 @@ export default class NftscanEvmStatistic extends BaseApi<NftscanConfig> {
144
145
* *****
145
146
* Obtain account overview statistics.
146
147
* - This endpoint returns overview statistics for an account address referring to NFTScan Overview({@link https://www.nftscan.com/0xea7a0f1434084b2e99b42f045896e7326fed9dc1}).
147
- * - details: {@link https://docs.nftscan.com/nftscan/trendingUsingGET }
148
+ * - details: {@link https://docs.nftscan.com/nftscan/accountOverviewUsingGET }
148
149
* @param accountAddress The account address
149
150
* @returns Promise<{@link QueryAccountOverviewResponse}>
150
151
*/
@@ -159,6 +160,27 @@ export default class NftscanEvmStatistic extends BaseApi<NftscanConfig> {
159
160
) ;
160
161
}
161
162
163
+ /**
164
+ * *****
165
+ * [PRO]
166
+ * *****
167
+ * Obtain blue chip statistics.
168
+ * - This endpoint returns blue chip statistics referring to({@link https://www.nftscan.com/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d?module=Analytics}).
169
+ * - details: {@link https://docs.nftscan.com/nftscan/blueChipUsingGET}
170
+ * @param contractAddress The NFT contract address
171
+ * @returns Promise<{@link QueryBlueChipStatisticsResponse}>
172
+ */
173
+ getBlueChipStatistics ( contractAddress : string ) : Promise < QueryBlueChipStatisticsResponse > {
174
+ if ( isEmpty ( contractAddress ) ) {
175
+ return missingParamError ( 'contractAddress' ) ;
176
+ }
177
+
178
+ return nftscanGet < NsObject , QueryBlueChipStatisticsResponse > (
179
+ this . config ,
180
+ `${ NftscanConst . API . evm . statistic . getBlueChipStatistics } ${ contractAddress } ` ,
181
+ ) ;
182
+ }
183
+
162
184
/**
163
185
* Obtain marketplace ranking statistics.
164
186
* - This endpoint returns NFT marketplace ranking statistics referring to NFTScan Marketplace({@link https://www.nftscan.com/marketplace}).
0 commit comments