@covalenthq/client-sdk 0.8.3 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/cjs/index.d.ts +1 -1
  2. package/dist/cjs/index.js +38 -7
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/services/CovalentClient.d.ts +1 -1
  5. package/dist/cjs/services/TransactionService.d.ts +29 -1
  6. package/dist/cjs/services/XykService.d.ts +15 -0
  7. package/dist/cjs/util/types/TransactionServiceTypes.d.ts +18 -0
  8. package/dist/cjs/util/types/XykServiceTypes.d.ts +9 -1
  9. package/dist/es/index.d.ts +1 -1
  10. package/dist/es/index.js +38 -7
  11. package/dist/es/index.js.map +1 -1
  12. package/dist/es/services/CovalentClient.d.ts +1 -1
  13. package/dist/es/services/TransactionService.d.ts +29 -1
  14. package/dist/es/services/XykService.d.ts +15 -0
  15. package/dist/es/util/types/TransactionServiceTypes.d.ts +18 -0
  16. package/dist/es/util/types/XykServiceTypes.d.ts +9 -1
  17. package/dist/esm/index.d.ts +1 -1
  18. package/dist/esm/index.js +38 -7
  19. package/dist/esm/index.js.map +1 -1
  20. package/dist/esm/services/CovalentClient.d.ts +1 -1
  21. package/dist/esm/services/TransactionService.d.ts +29 -1
  22. package/dist/esm/services/XykService.d.ts +15 -0
  23. package/dist/esm/util/types/TransactionServiceTypes.d.ts +18 -0
  24. package/dist/esm/util/types/XykServiceTypes.d.ts +9 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js.map +1 -1
  27. package/dist/services/CovalentClient.d.ts +1 -1
  28. package/dist/services/CovalentClient.js +1 -1
  29. package/dist/services/TransactionService.d.ts +29 -1
  30. package/dist/services/TransactionService.js +22 -1
  31. package/dist/services/TransactionService.js.map +1 -1
  32. package/dist/services/XykService.d.ts +15 -0
  33. package/dist/services/XykService.js +10 -0
  34. package/dist/services/XykService.js.map +1 -1
  35. package/dist/util/types/TransactionServiceTypes.d.ts +18 -0
  36. package/dist/util/types/XykServiceTypes.d.ts +9 -1
  37. package/package.json +1 -1
@@ -9,7 +9,7 @@ export type Chain = "btc-mainnet" | "eth-mainnet" | "matic-mainnet" | "bsc-mainn
9
9
  export type Quote = "USD" | "CAD" | "EUR" | "SGD" | "INR" | "JPY" | "VND" | "CNY" | "KRW" | "RUB" | "TRY" | "NGN" | "ARS" | "AUD" | "CHF" | "GBP";
10
10
  export type ChainID = 20090103 | 1 | 137 | 56 | 43114 | 10 | 250 | 1284 | 1285 | 30 | 42161 | 11297108109 | 8217 | 128 | 71402 | 2020 | 9001 | 592 | 4689 | 1666600000 | 25 | 1313161554 | 42262 | 288 | 5 | 80001 | 43113 | 97 | 1287 | 31 | 421613 | 4002 | 11297108099 | 256 | 71401 | 9000 | 336 | 4690 | 1666700000 | 1313161555 | 534354 | 534351 | 1131378225 | 53935 | 73772 | 43288 | 1294 | 56288 | 28 | 1297 | 9728 | 4328 | 1001 | 192837465 | 356256156 | 1564830818 | 278611351 | 432204 | 1026062157 | 432201 | 81 | 338 | 335 | 1088 | 588 | 2002 | 200202 | 2001 | 200101 | 73773 | 1399811149 | 2046399126 | 82 | 83 | 2139927552 | 2888 | 245022926 | 344106930 | 476158412 | 42170 | 7700 | 119 | 1029 | 14 | 114 | 19 | 16 | 321 | 322 | 1422 | 59140 | 84531 | 5001 | 534353 | 248 | 9372 | 2152 | 2154 | 416 | 23294 | 23295 | 420 | 1101 | 1662 | 1024 | 39797 | 49797 | 1663 | 11155111 | 1482601649 | 644937893 | 222000222 | 49321 | 1231 | 1230 | 7777777 | 999 | 245022934 | 2044 | 8453 | 5000 | 262018 | 59144 | 7332 | 10507 | 7979 | 1234 | 1228 | 8888 | 333000333 | 12008 | 12011 | 2038 | 1995 | 12010 | 51178 | 12009 | 12012 | 324 | 599 | 280 | 1343 | 11115 | 6765897100 | 1079 | 13337 | 16350 | 1990 | 20221 | 5611 | 12018 | 12013 | 12020 | 12015 | 12016 | 12014 | 12017 | 12019 | 431234 | 6119 | 73 | 7001 | 42888 | 919 | 5151706 | 923018 | 3441005 | 424 | 58008 | 100 | 10200 | 570 | 57000 | 167007 | 11155420 | 204 | 40 | 41 | 321123 | 360163 | 78431 | 2037 | 17772 | 152703 | 894538 | 179188 | 78432 | 7777 | 986532 | 78430 | 2195 | 11111 | 3012 | 4337 | 534352 | 17000 | 88 | 89 | 20765 | 84532 | 47279324479 | 421614 | 12027 | 12028 | 12029 | 31330 | 31331 | 31332 | 31333 | 31334 | 31335 | 412346 | 8545 | 42220;
11
11
  export type Source = "Ponder" | "GoldRush";
12
- export declare const userAgent = "com.covalenthq.sdk.typescript/0.8.3";
12
+ export declare const userAgent = "com.covalenthq.sdk.typescript/0.8.5";
13
13
  export declare class Response<T> {
14
14
  data: T;
15
15
  error: boolean;
@@ -411,6 +411,23 @@ declare class TransactionsSummaryResponse {
411
411
  items: TransactionsSummary[];
412
412
  constructor(data: TransactionsSummaryResponse);
413
413
  }
414
+ declare class GasSummary {
415
+ /** * The total number of transactions sent by the address. */
416
+ total_sent_count: number;
417
+ /** * The total transaction fees paid by the address, denoted in wei. */
418
+ total_fees_paid: bigint | null;
419
+ /** * The total transaction fees paid by the address, denoted in `quote-currency`. */
420
+ total_gas_quote: number;
421
+ /** * A prettier version of the quote for rendering purposes. */
422
+ pretty_total_gas_quote: string;
423
+ /** * The average gas quote per transaction. */
424
+ average_gas_quote_per_tx: number;
425
+ /** * A prettier version of the quote for rendering purposes. */
426
+ pretty_average_gas_quote_per_tx: string;
427
+ /** * The requested chain native gas token metadata. */
428
+ gas_metadata: ContractMetadata;
429
+ constructor(data: GasSummary);
430
+ }
414
431
  declare class TransactionsSummary {
415
432
  /** * The total number of transactions. */
416
433
  total_count: number;
@@ -418,6 +435,8 @@ declare class TransactionsSummary {
418
435
  earliest_transaction: TransactionSummary;
419
436
  /** * The latest transaction detected. */
420
437
  latest_transaction: TransactionSummary;
438
+ /** * The gas summary for the transactions. */
439
+ gas_summary: GasSummary;
421
440
  constructor(data: TransactionsSummary);
422
441
  }
423
442
  declare class TransactionSummary {
@@ -548,6 +567,12 @@ export interface GetTransactionsForBlockHashQueryParamOpts {
548
567
  /** * Include safe details. */
549
568
  withSafe?: boolean;
550
569
  }
570
+ export interface GetTransactionSummaryQueryParamOpts {
571
+ /** * The currency to convert. Supports `USD`, `CAD`, `EUR`, `SGD`, `INR`, `JPY`, `VND`, `CNY`, `KRW`, `RUB`, `TRY`, `NGN`, `ARS`, `AUD`, `CHF`, and `GBP`. */
572
+ quoteCurrency?: Quote;
573
+ /** * Include gas summary details. Additional charge of 1 credit when true. Response times may be impacted for wallets with millions of transactions. */
574
+ withGas?: boolean;
575
+ }
551
576
  export declare class TransactionService {
552
577
  private apiKey;
553
578
  private debug;
@@ -620,9 +645,12 @@ export declare class TransactionService {
620
645
  *
621
646
  * @param {string} chainName - The chain name eg: `eth-mainnet`.
622
647
  * @param {string} walletAddress - The requested address. Passing in an `ENS`, `RNS`, `Lens Handle`, or an `Unstoppable Domain` resolves automatically.
648
+ * @param {GetTransactionSummaryQueryParamOpts} queryParamOpts
649
+ * - `quoteCurrency`: The currency to convert. Supports `USD`, `CAD`, `EUR`, `SGD`, `INR`, `JPY`, `VND`, `CNY`, `KRW`, `RUB`, `TRY`, `NGN`, `ARS`, `AUD`, `CHF`, and `GBP`.
650
+ * - `withGas`: Include gas summary details. Additional charge of 1 credit when true. Response times may be impacted for wallets with millions of transactions.
623
651
  *
624
652
  */
625
- getTransactionSummary(chainName: Chain | Chains | ChainID, walletAddress: string): Promise<Response<TransactionsSummaryResponse>>;
653
+ getTransactionSummary(chainName: Chain | Chains | ChainID, walletAddress: string, queryParamOpts?: GetTransactionSummaryQueryParamOpts): Promise<Response<TransactionsSummaryResponse>>;
626
654
  /**
627
655
  *
628
656
  * @param {string} chainName - The chain name eg: `eth-mainnet`.
@@ -56,6 +56,13 @@ declare class Pagination {
56
56
  total_count: number;
57
57
  constructor(data: Pagination);
58
58
  }
59
+ declare class Explorer {
60
+ /** * The name of the explorer. */
61
+ label: string;
62
+ /** * The URL of the explorer. */
63
+ url: string;
64
+ constructor(data: Explorer);
65
+ }
59
66
  declare class Token {
60
67
  /** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
61
68
  contract_address: string;
@@ -126,6 +133,8 @@ declare class PoolByAddressResponse {
126
133
  declare class PoolWithTimeseries {
127
134
  /** * The pair address. */
128
135
  exchange: string;
136
+ /** * A list of explorers for this address. */
137
+ explorers: Explorer[];
129
138
  swap_count_24h: string;
130
139
  /** * The total liquidity converted to fiat in `quote-currency`. */
131
140
  total_liquidity_quote: string;
@@ -246,6 +255,8 @@ declare class PoolsDexDataItem {
246
255
  exchange_ticker_symbol: string;
247
256
  /** * The dex logo URL for the pair address. */
248
257
  exchange_logo_url: string;
258
+ /** * The list of explorers for the token address. */
259
+ explorers: Explorer[];
249
260
  /** * The total liquidity converted to fiat in `quote-currency`. */
250
261
  total_liquidity_quote: number;
251
262
  /** * A prettier version of the total liquidity quote for rendering purposes. */
@@ -377,6 +388,8 @@ declare class TokenV2Volume {
377
388
  /** * Use contract decimals to format the token balance for display purposes - divide the balance by `10^{contract_decimals}`. */
378
389
  contract_decimals: number;
379
390
  swap_count_24h: number;
391
+ /** * The list of explorers for the token address. */
392
+ explorers: Explorer[];
380
393
  /** * The exchange rate for the requested quote currency. */
381
394
  quote_rate: number;
382
395
  /** * The 24h exchange rate for the requested quote currency. */
@@ -419,6 +432,8 @@ declare class TokenV2VolumeWithChartData {
419
432
  contract_address: string;
420
433
  /** * The string returned by the `name()` method. */
421
434
  contract_name: string;
435
+ /** * A list of explorers for this address. */
436
+ explorers: Explorer[];
422
437
  /** * The total liquidity unscaled value. */
423
438
  total_liquidity: number;
424
439
  /** * The total volume 24h unscaled value. */
@@ -331,6 +331,8 @@ export interface TransactionsSummary {
331
331
  earliest_transaction: TransactionSummary;
332
332
  /** * The latest transaction detected. */
333
333
  latest_transaction: TransactionSummary;
334
+ /** * The gas summary for the transactions. */
335
+ gas_summary: GasSummary;
334
336
  }
335
337
  export interface TransactionSummary {
336
338
  /** * The block signed timestamp in UTC. */
@@ -368,3 +370,19 @@ export interface TransactionsBlockPageResponse {
368
370
  /** * List of response items. */
369
371
  items: Transaction[];
370
372
  }
373
+ export interface GasSummary {
374
+ /** * The total number of transactions sent by the address. */
375
+ total_sent_count: number;
376
+ /** * The total transaction fees paid by the address, denoted in wei. */
377
+ total_fees_paid: bigint | null;
378
+ /** * The total transaction fees paid by the address, denoted in `quote-currency`. */
379
+ total_gas_quote: number;
380
+ /** * A prettier version of the quote for rendering purposes. */
381
+ pretty_total_gas_quote: string;
382
+ /** * The average gas quote per transaction. */
383
+ average_gas_quote_per_tx: number;
384
+ /** * A prettier version of the quote for rendering purposes. */
385
+ pretty_average_gas_quote_per_tx: string;
386
+ /** * The requested chain native gas token metadata. */
387
+ gas_metadata: ContractMetadata;
388
+ }
@@ -1,4 +1,4 @@
1
- import { Pagination, ContractMetadata } from "./GenericTypes";
1
+ import { Pagination, ContractMetadata, Explorer } from "./GenericTypes";
2
2
  export interface PoolResponse {
3
3
  /** * The timestamp when the response was generated. Useful to show data staleness to users. */
4
4
  updated_at: Date;
@@ -107,6 +107,8 @@ export interface PoolByAddressResponse {
107
107
  export interface PoolWithTimeseries {
108
108
  /** * The pair address. */
109
109
  exchange: string;
110
+ /** * A list of explorers for this address. */
111
+ explorers: Explorer[];
110
112
  swap_count_24h: string;
111
113
  /** * The total liquidity converted to fiat in `quote-currency`. */
112
114
  total_liquidity_quote: string;
@@ -222,6 +224,8 @@ export interface PoolsDexDataItem {
222
224
  exchange_ticker_symbol: string;
223
225
  /** * The dex logo URL for the pair address. */
224
226
  exchange_logo_url: string;
227
+ /** * The list of explorers for the token address. */
228
+ explorers: Explorer[];
225
229
  /** * The total liquidity converted to fiat in `quote-currency`. */
226
230
  total_liquidity_quote: number;
227
231
  /** * A prettier version of the total liquidity quote for rendering purposes. */
@@ -346,6 +350,8 @@ export interface TokenV2Volume {
346
350
  /** * Use contract decimals to format the token balance for display purposes - divide the balance by `10^{contract_decimals}`. */
347
351
  contract_decimals: number;
348
352
  swap_count_24h: number;
353
+ /** * The list of explorers for the token address. */
354
+ explorers: Explorer[];
349
355
  /** * The exchange rate for the requested quote currency. */
350
356
  quote_rate: number;
351
357
  /** * The 24h exchange rate for the requested quote currency. */
@@ -384,6 +390,8 @@ export interface TokenV2VolumeWithChartData {
384
390
  dex_name: string;
385
391
  /** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
386
392
  contract_address: string;
393
+ /** * The list of explorers for the token address. */
394
+ explorers: Explorer[];
387
395
  /** * The string returned by the `name()` method. */
388
396
  contract_name: string;
389
397
  /** * The total liquidity unscaled value. */
@@ -1,4 +1,4 @@
1
- export { CovalentClient, Client, Chain, Quote, CovalentClientSettings } from "./services/CovalentClient";
1
+ export { CovalentClient, Client, Chain, Quote, CovalentClientSettings, ChainID } from "./services/CovalentClient";
2
2
  export * from "./util/types/BalanceServiceTypes";
3
3
  export * from "./util/types/BaseServiceTypes";
4
4
  export * from "./util/types/NftServiceTypes";
package/dist/esm/index.js CHANGED
@@ -696,7 +696,7 @@ let Pagination$3 = class Pagination {
696
696
  this.total_count = data.total_count;
697
697
  }
698
698
  };
699
- let Explorer$1 = class Explorer {
699
+ let Explorer$2 = class Explorer {
700
700
  constructor(data) {
701
701
  this.label = data.label;
702
702
  this.url = data.url;
@@ -723,7 +723,7 @@ class TokenTransferItem {
723
723
  this.pretty_delta_quote = data.pretty_delta_quote;
724
724
  this.balance_quote = data.balance_quote;
725
725
  this.method_calls = data.method_calls && data.method_calls !== null ? data.method_calls.map((itemData) => new MethodCallsForTransfers(itemData)) : null;
726
- this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer$1(itemData)) : null;
726
+ this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer$2(itemData)) : null;
727
727
  }
728
728
  }
729
729
  class MethodCallsForTransfers {
@@ -4309,7 +4309,7 @@ class Transaction {
4309
4309
  this.pretty_gas_quote = data.pretty_gas_quote;
4310
4310
  this.gas_quote_rate = data.gas_quote_rate;
4311
4311
  this.gas_metadata = data.gas_metadata && data.gas_metadata !== null ? new ContractMetadata$1(data.gas_metadata) : null;
4312
- this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer(itemData)) : null;
4312
+ this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer$1(itemData)) : null;
4313
4313
  this.dex_details = data.dex_details && data.dex_details !== null ? data.dex_details.map((itemData) => new DexReport(itemData)) : null;
4314
4314
  this.nft_sale_details = data.nft_sale_details && data.nft_sale_details !== null ? data.nft_sale_details.map((itemData) => new NftSalesReport(itemData)) : null;
4315
4315
  this.lending_details = data.lending_details && data.lending_details !== null ? data.lending_details.map((itemData) => new LendingReport(itemData)) : null;
@@ -4327,12 +4327,12 @@ let ContractMetadata$1 = class ContractMetadata {
4327
4327
  this.logo_url = data.logo_url;
4328
4328
  }
4329
4329
  };
4330
- class Explorer {
4330
+ let Explorer$1 = class Explorer {
4331
4331
  constructor(data) {
4332
4332
  this.label = data.label;
4333
4333
  this.url = data.url;
4334
4334
  }
4335
- }
4335
+ };
4336
4336
  class DexReport {
4337
4337
  constructor(data) {
4338
4338
  this.log_offset = data.log_offset;
@@ -4814,11 +4814,23 @@ class TransactionsSummaryResponse {
4814
4814
  this.items = data.items && data.items !== null ? data.items.map((itemData) => new TransactionsSummary(itemData)) : null;
4815
4815
  }
4816
4816
  }
4817
+ class GasSummary {
4818
+ constructor(data) {
4819
+ this.total_sent_count = data.total_sent_count;
4820
+ this.total_fees_paid = data.total_fees_paid && data.total_fees_paid !== null ? BigInt(data.total_fees_paid) : null;
4821
+ this.total_gas_quote = data.total_gas_quote;
4822
+ this.pretty_total_gas_quote = data.pretty_total_gas_quote;
4823
+ this.average_gas_quote_per_tx = data.average_gas_quote_per_tx;
4824
+ this.pretty_average_gas_quote_per_tx = data.pretty_average_gas_quote_per_tx;
4825
+ this.gas_metadata = data.gas_metadata && data.gas_metadata !== null ? new ContractMetadata$1(data.gas_metadata) : null;
4826
+ }
4827
+ }
4817
4828
  class TransactionsSummary {
4818
4829
  constructor(data) {
4819
4830
  this.total_count = data.total_count;
4820
4831
  this.earliest_transaction = data.earliest_transaction && data.earliest_transaction !== null ? new TransactionSummary(data.earliest_transaction) : null;
4821
4832
  this.latest_transaction = data.latest_transaction && data.latest_transaction !== null ? new TransactionSummary(data.latest_transaction) : null;
4833
+ this.gas_summary = data.gas_summary && data.gas_summary !== null ? new GasSummary(data.gas_summary) : null;
4822
4834
  }
4823
4835
  }
4824
4836
  class TransactionSummary {
@@ -5531,9 +5543,12 @@ class TransactionService {
5531
5543
  *
5532
5544
  * @param {string} chainName - The chain name eg: `eth-mainnet`.
5533
5545
  * @param {string} walletAddress - The requested address. Passing in an `ENS`, `RNS`, `Lens Handle`, or an `Unstoppable Domain` resolves automatically.
5546
+ * @param {GetTransactionSummaryQueryParamOpts} queryParamOpts
5547
+ * - `quoteCurrency`: The currency to convert. Supports `USD`, `CAD`, `EUR`, `SGD`, `INR`, `JPY`, `VND`, `CNY`, `KRW`, `RUB`, `TRY`, `NGN`, `ARS`, `AUD`, `CHF`, and `GBP`.
5548
+ * - `withGas`: Include gas summary details. Additional charge of 1 credit when true. Response times may be impacted for wallets with millions of transactions.
5534
5549
  *
5535
5550
  */
5536
- async getTransactionSummary(chainName, walletAddress) {
5551
+ async getTransactionSummary(chainName, walletAddress, queryParamOpts) {
5537
5552
  let success = false;
5538
5553
  let data;
5539
5554
  let response;
@@ -5549,6 +5564,12 @@ class TransactionService {
5549
5564
  error_message: ApiKeyValidator.INVALID_API_KEY_MESSAGE
5550
5565
  };
5551
5566
  }
5567
+ if (queryParamOpts?.quoteCurrency !== undefined) {
5568
+ urlParams.append("quote-currency", queryParamOpts?.quoteCurrency.toString());
5569
+ }
5570
+ if (queryParamOpts?.withGas !== undefined) {
5571
+ urlParams.append("with-gas", queryParamOpts?.withGas.toString());
5572
+ }
5552
5573
  let startTime;
5553
5574
  if (this.debug) {
5554
5575
  startTime = new Date();
@@ -5991,6 +6012,12 @@ class Pagination {
5991
6012
  this.total_count = data.total_count;
5992
6013
  }
5993
6014
  }
6015
+ class Explorer {
6016
+ constructor(data) {
6017
+ this.label = data.label;
6018
+ this.url = data.url;
6019
+ }
6020
+ }
5994
6021
  class Token {
5995
6022
  constructor(data) {
5996
6023
  this.contract_address = data.contract_address;
@@ -6061,6 +6088,7 @@ class PoolWithTimeseries {
6061
6088
  this.pretty_volume_7d_quote = data.pretty_volume_7d_quote;
6062
6089
  this.token_0_reserve_quote = data.token_0_reserve_quote;
6063
6090
  this.token_1_reserve_quote = data.token_1_reserve_quote;
6091
+ this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer(itemData)) : null;
6064
6092
  this.token_0 = data.token_0 && data.token_0 !== null ? new Token(data.token_0) : null;
6065
6093
  this.token_1 = data.token_1 && data.token_1 !== null ? new Token(data.token_1) : null;
6066
6094
  this.volume_timeseries_7d = data.volume_timeseries_7d && data.volume_timeseries_7d !== null ? data.volume_timeseries_7d.map((itemData) => new VolumeTimeseries(itemData)) : null;
@@ -6145,6 +6173,7 @@ class PoolsDexDataItem {
6145
6173
  this.pretty_volume_24h_quote = data.pretty_volume_24h_quote;
6146
6174
  this.pretty_volume_7d_quote = data.pretty_volume_7d_quote;
6147
6175
  this.pretty_fee_24h_quote = data.pretty_fee_24h_quote;
6176
+ this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer(itemData)) : null;
6148
6177
  this.token_0 = data.token_0 && data.token_0 !== null ? new PoolsDexToken(data.token_0) : null;
6149
6178
  this.token_1 = data.token_1 && data.token_1 !== null ? new PoolsDexToken(data.token_1) : null;
6150
6179
  }
@@ -6231,6 +6260,7 @@ class TokenV2Volume {
6231
6260
  this.pretty_total_volume_24h_quote = data.pretty_total_volume_24h_quote;
6232
6261
  this.total_liquidity_quote = data.total_liquidity_quote;
6233
6262
  this.total_volume_24h_quote = data.total_volume_24h_quote;
6263
+ this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer(itemData)) : null;
6234
6264
  }
6235
6265
  }
6236
6266
  class NetworkExchangeTokenViewResponse {
@@ -6264,6 +6294,7 @@ class TokenV2VolumeWithChartData {
6264
6294
  this.total_liquidity_quote = data.total_liquidity_quote;
6265
6295
  this.total_volume_24h_quote = data.total_volume_24h_quote;
6266
6296
  this.transactions_24h = data.transactions_24h;
6297
+ this.explorers = data.explorers && data.explorers !== null ? data.explorers.map((itemData) => new Explorer(itemData)) : null;
6267
6298
  this.volume_timeseries_7d = data.volume_timeseries_7d && data.volume_timeseries_7d !== null ? data.volume_timeseries_7d.map((itemData) => new VolumeTokenTimeseries(itemData)) : null;
6268
6299
  this.volume_timeseries_30d = data.volume_timeseries_30d && data.volume_timeseries_30d !== null ? data.volume_timeseries_30d.map((itemData) => new VolumeTokenTimeseries(itemData)) : null;
6269
6300
  this.liquidity_timeseries_7d = data.liquidity_timeseries_7d && data.liquidity_timeseries_7d !== null ? data.liquidity_timeseries_7d.map((itemData) => new LiquidityTokenTimeseries(itemData)) : null;
@@ -7773,7 +7804,7 @@ class XykService {
7773
7804
  }
7774
7805
  }
7775
7806
 
7776
- const userAgent = "com.covalenthq.sdk.typescript/0.8.3";
7807
+ const userAgent = "com.covalenthq.sdk.typescript/0.8.5";
7777
7808
  /**
7778
7809
  * CovalentClient Class
7779
7810
  */