nftscan-api
Advanced tools
Comparing version 1.11.0 to 1.12.0
import { QueryCollectionRankingParams, QueryMarketplaceRankingParams, QueryTradeRankingParams, QueryTradeWalletRankingParams, QueryWalletRankingParams } from '../../../types/evm/statistic/request-params'; | ||
import { AccountHoldingDistributionResponse, AccountHoldingTrendingResponse, CollectionBlueChipListResponse, CollectionHoldingDistributionResponse, CollectionOverviewResponse, QueryAccountOverviewResponse, QueryBlueChipStatisticsResponse, QueryCollectionRankingResponse, QueryCollectionStatisticsResponse, QueryCollectionTopHolderResponse, QueryCollectionTradeResponse, QueryCollectionTrendingResponse, QueryGasRankingResponse, QueryMarketCapRankingResponse, QueryMarketplaceRankingResponse, QueryMintAmountResponse, QueryMintRankingResponse, QueryTradeRankingResponse, QueryTradersRankingResponse, TradeWalletRankingResponse, WalletRankingResponse } from '../../../types/evm/statistic/response-data'; | ||
import { AccountHoldingDistributionResponse, AccountHoldingTrendingResponse, ChainOverviewResponse, CollectionBlueChipListResponse, CollectionHoldingDistributionResponse, CollectionOverviewResponse, QueryAccountOverviewResponse, QueryBlueChipStatisticsResponse, QueryCollectionRankingResponse, QueryCollectionStatisticsResponse, QueryCollectionTopHolderResponse, QueryCollectionTradeResponse, QueryCollectionTrendingResponse, QueryGasRankingResponse, QueryMarketCapRankingResponse, QueryMarketplaceRankingResponse, QueryMintAmountResponse, QueryMintRankingResponse, QueryTradeRankingResponse, QueryTradersRankingResponse, TradeWalletRankingResponse, WalletRankingResponse } from '../../../types/evm/statistic/response-data'; | ||
import { NftscanConfig, RangeType, SortDirection, TradeType } from '../../../types/nftscan-type'; | ||
@@ -191,2 +191,9 @@ import BaseApi from '../../base-api'; | ||
getAccountHoldingTrending(accountAddress: string, trendingType?: 'volume' | 'amount'): Promise<AccountHoldingTrendingResponse>; | ||
/** | ||
* Chain Overview | ||
* - This endpoint returns the current chain overview data referring to NFTScan Overview({@link https://eth.nftscan.com/}). | ||
* - details: {@link https://docs.nftscan.com/reference/evm/chain-overview} | ||
* @returns Promise<{@link ChainOverviewResponse}> | ||
*/ | ||
getChainOverview(): Promise<ChainOverviewResponse>; | ||
} |
import NftscanEvm from './api/evm/nftscan-evm'; | ||
import NftscanSolana from './api/solana/nftscan-solana'; | ||
import './util/nftscan.init'; | ||
export * from './types/index'; | ||
export { NftscanEvm, NftscanSolana }; |
@@ -908,2 +908,47 @@ interface Price7d { | ||
} | ||
/** | ||
* The response data of EVM API 'getChainOverview' | ||
*/ | ||
export interface ChainOverviewResponse { | ||
/** | ||
* The 24-hour total number of assets | ||
*/ | ||
asset_24h: number; | ||
/** | ||
* The total number of assets | ||
*/ | ||
asset_total: number; | ||
/** | ||
* The 24-hour total number of contracts | ||
*/ | ||
contract_24h: number; | ||
/** | ||
* The total number of contracts | ||
*/ | ||
contract_total: number; | ||
/** | ||
* The 24-hour total number of transactions | ||
*/ | ||
transfer_24h: number; | ||
/** | ||
* The total number of transactions | ||
*/ | ||
transfer_total: number; | ||
/** | ||
* The 24-hour total volume on the NFT Marketplaces | ||
*/ | ||
volume_24h: number; | ||
/** | ||
* The total volume on the NFT Marketplaces | ||
*/ | ||
volume_total: number; | ||
/** | ||
* The 1-day total number of wallet addresses | ||
*/ | ||
wallet_address_1d: number; | ||
/** | ||
* The total number of wallet addresses | ||
*/ | ||
wallet_address_total: number; | ||
} | ||
export {}; |
@@ -75,2 +75,3 @@ export default class NftscanConst { | ||
getAccountHoldingTrending: string; | ||
getChainOverview: string; | ||
}; | ||
@@ -77,0 +78,0 @@ refresh: { |
@@ -1,4 +0,1 @@ | ||
export default class NftscanInit { | ||
static created: boolean; | ||
static onCreate(): void; | ||
} | ||
export {}; |
{ | ||
"name": "nftscan-api", | ||
"version": "1.11.0", | ||
"version": "1.12.0", | ||
"description": "js/ts SDK for NFTScan APIs", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
457816
10034