@covalenthq/client-sdk 0.9.4 → 0.9.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.
- package/dist/cjs/index.js +45 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/services/BalanceService.d.ts +7 -5
- package/dist/cjs/services/BaseService.d.ts +8 -1
- package/dist/cjs/services/CovalentClient.d.ts +3 -3
- package/dist/cjs/services/NftService.d.ts +12 -8
- package/dist/cjs/services/PricingService.d.ts +2 -2
- package/dist/cjs/services/TransactionService.d.ts +11 -11
- package/dist/cjs/services/XykService.d.ts +50 -50
- package/dist/cjs/util/Chains.d.ts +29 -4
- package/dist/cjs/util/types/BalanceServiceTypes.d.ts +4 -4
- package/dist/cjs/util/types/BaseServiceTypes.d.ts +7 -1
- package/dist/cjs/util/types/GenericTypes.d.ts +2 -0
- package/dist/cjs/util/types/NftServiceTypes.d.ts +8 -8
- package/dist/cjs/util/types/PricingServiceTypes.d.ts +1 -1
- package/dist/cjs/util/types/TransactionServiceTypes.d.ts +10 -10
- package/dist/cjs/util/types/XykServiceTypes.d.ts +51 -51
- package/dist/es/index.js +45 -11
- package/dist/es/index.js.map +1 -1
- package/dist/es/services/BalanceService.d.ts +7 -5
- package/dist/es/services/BaseService.d.ts +8 -1
- package/dist/es/services/CovalentClient.d.ts +3 -3
- package/dist/es/services/NftService.d.ts +12 -8
- package/dist/es/services/PricingService.d.ts +2 -2
- package/dist/es/services/TransactionService.d.ts +11 -11
- package/dist/es/services/XykService.d.ts +50 -50
- package/dist/es/util/Chains.d.ts +29 -4
- package/dist/es/util/types/BalanceServiceTypes.d.ts +4 -4
- package/dist/es/util/types/BaseServiceTypes.d.ts +7 -1
- package/dist/es/util/types/GenericTypes.d.ts +2 -0
- package/dist/es/util/types/NftServiceTypes.d.ts +8 -8
- package/dist/es/util/types/PricingServiceTypes.d.ts +1 -1
- package/dist/es/util/types/TransactionServiceTypes.d.ts +10 -10
- package/dist/es/util/types/XykServiceTypes.d.ts +51 -51
- package/dist/esm/index.js +45 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/services/BalanceService.d.ts +7 -5
- package/dist/esm/services/BaseService.d.ts +8 -1
- package/dist/esm/services/CovalentClient.d.ts +3 -3
- package/dist/esm/services/NftService.d.ts +12 -8
- package/dist/esm/services/PricingService.d.ts +2 -2
- package/dist/esm/services/TransactionService.d.ts +11 -11
- package/dist/esm/services/XykService.d.ts +50 -50
- package/dist/esm/util/Chains.d.ts +29 -4
- package/dist/esm/util/types/BalanceServiceTypes.d.ts +4 -4
- package/dist/esm/util/types/BaseServiceTypes.d.ts +7 -1
- package/dist/esm/util/types/GenericTypes.d.ts +2 -0
- package/dist/esm/util/types/NftServiceTypes.d.ts +8 -8
- package/dist/esm/util/types/PricingServiceTypes.d.ts +1 -1
- package/dist/esm/util/types/TransactionServiceTypes.d.ts +10 -10
- package/dist/esm/util/types/XykServiceTypes.d.ts +51 -51
- package/dist/services/BalanceService.d.ts +7 -5
- package/dist/services/BalanceService.js +1 -0
- package/dist/services/BalanceService.js.map +1 -1
- package/dist/services/BaseService.d.ts +8 -1
- package/dist/services/BaseService.js +7 -1
- package/dist/services/BaseService.js.map +1 -1
- package/dist/services/CovalentClient.d.ts +3 -3
- package/dist/services/CovalentClient.js +1 -1
- package/dist/services/NftService.d.ts +12 -8
- package/dist/services/NftService.js +2 -0
- package/dist/services/NftService.js.map +1 -1
- package/dist/services/PricingService.d.ts +2 -2
- package/dist/services/TransactionService.d.ts +11 -11
- package/dist/services/TransactionService.js.map +1 -1
- package/dist/services/XykService.d.ts +50 -50
- package/dist/services/XykService.js +6 -6
- package/dist/services/XykService.js.map +1 -1
- package/dist/util/Chains.d.ts +29 -4
- package/dist/util/Chains.js +28 -3
- package/dist/util/Chains.js.map +1 -1
- package/dist/util/types/BalanceServiceTypes.d.ts +4 -4
- package/dist/util/types/BaseServiceTypes.d.ts +7 -1
- package/dist/util/types/GenericTypes.d.ts +2 -0
- package/dist/util/types/NftServiceTypes.d.ts +8 -8
- package/dist/util/types/PricingServiceTypes.d.ts +1 -1
- package/dist/util/types/TransactionServiceTypes.d.ts +10 -10
- package/dist/util/types/XykServiceTypes.d.ts +51 -51
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ declare class BalanceItem {
|
|
|
27
27
|
/** * A display-friendly name for the contract. */
|
|
28
28
|
contract_display_name: string;
|
|
29
29
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
30
|
-
supports_erc: string;
|
|
30
|
+
supports_erc: string[];
|
|
31
31
|
/** * The contract logo URL. */
|
|
32
32
|
logo_url: string;
|
|
33
33
|
/** * The contract logo URLs. */
|
|
@@ -82,6 +82,8 @@ declare class NftData {
|
|
|
82
82
|
token_url: string;
|
|
83
83
|
/** * The original minter. */
|
|
84
84
|
original_owner: string;
|
|
85
|
+
/** * The current holder of this NFT. */
|
|
86
|
+
current_owner: string;
|
|
85
87
|
external_data: NftExternalData;
|
|
86
88
|
/** * If `true`, the asset data is available from the Covalent CDN. */
|
|
87
89
|
asset_cached: boolean;
|
|
@@ -243,7 +245,7 @@ declare class ContractMetadata {
|
|
|
243
245
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
244
246
|
contract_address: string;
|
|
245
247
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
246
|
-
supports_erc: string;
|
|
248
|
+
supports_erc: string[];
|
|
247
249
|
/** * The contract logo URL. */
|
|
248
250
|
logo_url: string;
|
|
249
251
|
constructor(data: ContractMetadata);
|
|
@@ -327,7 +329,7 @@ declare class TokenHolder {
|
|
|
327
329
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
328
330
|
contract_address: string;
|
|
329
331
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
330
|
-
supports_erc: string;
|
|
332
|
+
supports_erc: string[];
|
|
331
333
|
/** * The contract logo URL. */
|
|
332
334
|
logo_url: string;
|
|
333
335
|
/** * The requested address. */
|
|
@@ -365,7 +367,7 @@ declare class HistoricalBalanceItem {
|
|
|
365
367
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
366
368
|
contract_address: string;
|
|
367
369
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
368
|
-
supports_erc: string;
|
|
370
|
+
supports_erc: string[];
|
|
369
371
|
/** * The contract logo URL. */
|
|
370
372
|
logo_url: string;
|
|
371
373
|
/** * The height of the block. */
|
|
@@ -417,7 +419,7 @@ declare class NativeBalanceItem {
|
|
|
417
419
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
418
420
|
contract_address: string;
|
|
419
421
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
420
|
-
supports_erc: string;
|
|
422
|
+
supports_erc: string[];
|
|
421
423
|
/** * The contract logo URL. */
|
|
422
424
|
logo_url: string;
|
|
423
425
|
/** * The height of the block. */
|
|
@@ -59,11 +59,18 @@ declare class BlockHeightsResponse {
|
|
|
59
59
|
/** * The requested chain name eg: `eth-mainnet`. */
|
|
60
60
|
chain_name: string;
|
|
61
61
|
/** * List of response items. */
|
|
62
|
-
items:
|
|
62
|
+
items: BlockHeights[];
|
|
63
63
|
/** * Pagination metadata. */
|
|
64
64
|
pagination: Pagination;
|
|
65
65
|
constructor(data: BlockHeightsResponse);
|
|
66
66
|
}
|
|
67
|
+
declare class BlockHeights {
|
|
68
|
+
/** * The block signed timestamp in UTC. */
|
|
69
|
+
signed_at: Date;
|
|
70
|
+
/** * The block height. */
|
|
71
|
+
height: number;
|
|
72
|
+
constructor(data: BlockHeights);
|
|
73
|
+
}
|
|
67
74
|
declare class Pagination {
|
|
68
75
|
/** * True is there is another page. */
|
|
69
76
|
has_more: boolean;
|
|
@@ -5,11 +5,11 @@ import { NftService } from "./NftService";
|
|
|
5
5
|
import { PricingService } from "./PricingService";
|
|
6
6
|
import { TransactionService } from "./TransactionService";
|
|
7
7
|
import { XykService } from "./XykService";
|
|
8
|
-
export type Chain = "btc-mainnet" | "eth-mainnet" | "matic-mainnet" | "bsc-mainnet" | "avalanche-mainnet" | "optimism-mainnet" | "fantom-mainnet" | "moonbeam-mainnet" | "moonbeam-moonriver" | "rsk-mainnet" | "arbitrum-mainnet" | "palm-mainnet" | "klaytn-mainnet" | "heco-mainnet" | "nervos-godwoken-mainnet" | "axie-mainnet" | "evmos-mainnet" | "astar-mainnet" | "iotex-mainnet" | "harmony-mainnet" | "cronos-mainnet" | "aurora-mainnet" | "emerald-paratime-mainnet" | "boba-mainnet" | "eth-goerli" | "matic-mumbai" | "avalanche-testnet" | "bsc-testnet" | "moonbeam-moonbase-alpha" | "rsk-testnet" | "arbitrum-goerli" | "fantom-testnet" | "palm-testnet" | "heco-testnet" | "nervos-godwoken-testnet" | "evmos-testnet" | "
|
|
8
|
+
export type Chain = "btc-mainnet" | "eth-mainnet" | "matic-mainnet" | "bsc-mainnet" | "avalanche-mainnet" | "optimism-mainnet" | "fantom-mainnet" | "moonbeam-mainnet" | "moonbeam-moonriver" | "rsk-mainnet" | "arbitrum-mainnet" | "palm-mainnet" | "klaytn-mainnet" | "heco-mainnet" | "nervos-godwoken-mainnet" | "axie-mainnet" | "evmos-mainnet" | "astar-mainnet" | "iotex-mainnet" | "harmony-mainnet" | "cronos-mainnet" | "aurora-mainnet" | "emerald-paratime-mainnet" | "boba-mainnet" | "eth-goerli" | "matic-mumbai" | "avalanche-testnet" | "bsc-testnet" | "moonbeam-moonbase-alpha" | "rsk-testnet" | "arbitrum-goerli" | "fantom-testnet" | "palm-testnet" | "heco-testnet" | "nervos-godwoken-testnet" | "evmos-testnet" | "iotex-testnet" | "harmony-testnet" | "aurora-testnet" | "scroll-l2-testnet" | "scroll-sepolia-testnet" | "covalent-internal-network-v1" | "defi-kingdoms-mainnet" | "swimmer-mainnet" | "boba-avalanche-mainnet" | "boba-bobabeam-mainnet" | "boba-bnb-mainnet" | "boba-rinkeby-testnet" | "boba-bobabase-testnet" | "boba-bnb-testnet" | "boba-avalanche-testnet" | "klaytn-testnet" | "gather-mainnet" | "gather-testnet" | "skale-calypso" | "skale-mainnet" | "skale-razor" | "avalanche-dexalot-mainnet" | "skale-omnus" | "avalanche-dexalot-testnet" | "astar-shibuya" | "cronos-testnet" | "defi-kingdoms-testnet" | "metis-mainnet" | "metis-stardust" | "milkomeda-a1-mainnet" | "milkomeda-a1-devnet" | "milkomeda-c1-mainnet" | "milkomeda-c1-devnet" | "swimmer-testnet" | "solana-mainnet" | "skale-europa" | "meter-mainnet" | "meter-testnet" | "skale-exorde" | "boba-goerli" | "neon-testnet" | "skale-staging-uum" | "skale-staging-lcc" | "arbitrum-nova-mainnet" | "canto-mainnet" | "bittorrent-mainnet" | "bittorrent-testnet" | "flarenetworks-flare-mainnet" | "flarenetworks-flare-testnet" | "flarenetworks-canary-mainnet" | "flarenetworks-canary-testnet" | "kcc-mainnet" | "kcc-testnet" | "polygon-zkevm-testnet" | "linea-testnet" | "base-testnet" | "mantle-testnet" | "scroll-alpha-testnet" | "oasys-mainnet" | "oasys-testnet" | "findora-mainnet" | "findora-forge-testnet" | "sx-mainnet" | "oasis-sapphire-mainnet" | "oasis-sapphire-testnet" | "optimism-goerli" | "polygon-zkevm-mainnet" | "horizen-yuma-testnet" | "clv-parachain" | "energi-mainnet" | "energi-testnet" | "horizen-gobi-testnet" | "eth-sepolia" | "skale-nebula" | "skale-battleground" | "avalanche-meld-testnet" | "gunzilla-testnet" | "ultron-mainnet" | "ultron-testnet" | "zora-mainnet" | "zora-goerli-testnet" | "neon-mainnet" | "avalanche-shrapnel-mainnet" | "base-mainnet" | "mantle-mainnet" | "avalanche-loco-legends-mainnet" | "linea-mainnet" | "horizen-eon-mainnet" | "avalanche-numbers" | "avalanche-dos" | "avalanche-step-network" | "avalanche-xplus" | "avalanche-xanachain" | "avalanche-meld-mainnet" | "opside-public-zkevm" | "opside-law-chain" | "avalanche-shrapnel-testnet" | "avalanche-loco-legends-testnet" | "opside-cb-zkevm" | "opside-pre-alpha-testnet" | "opside-era7" | "opside-xthrill" | "zksync-mainnet" | "metis-testnet" | "zksync-testnet" | "avalanche-blitz-testnet" | "avalanche-d-chain-testnet" | "avalanche-green-dot-testnet" | "avalanche-mintara-testnet" | "avalanche-beam-testnet" | "bnb-meta-apes-mainnet" | "bnb-antimatter-mainnet" | "bnb-antimatter-testnet" | "bnb-opbnb-testnet" | "opside-debox" | "opside-jackbot" | "opside-odx-zkevm-testnet" | "opside-readon-content-testnet" | "opside-relation" | "opside-soquest-zkevm" | "opside-vip3" | "opside-zkmeta" | "avalanche-pulsar-testnet" | "avalanche-uptn" | "bnb-fncy-mainnet" | "zetachain-testnet" | "kinto-testnet" | "mode-testnet" | "loot-mainnet" | "bnb-fncy-testnet" | "manta-testnet" | "pgn-mainnet" | "pgn-testnet" | "gnosis-mainnet" | "gnosis-testnet" | "rollux-mainnet" | "rollux-testnet" | "taiko-jolnir-testnet" | "optimism-sepolia" | "bnb-opbnb-mainnet" | "telos-mainnet" | "telos-testnet" | "avalanche-hubble-exchange-testnet" | "avalanche-miho-testnet" | "avalanche-bulletin-testnet" | "avalanche-kiwi-testnet" | "avalanche-hero-testnet" | "avalanche-avacloud-testnet" | "avalanche-thirdweb-testnet" | "avalanche-mondrian-testnet" | "avalanche-conduit-testnet" | "avalanche-nmac-testnet" | "avalanche-orderly-testnet" | "avalanche-amplify-testnet" | "avalanche-mirai-testnet" | "avalanche-wagmi-testnet" | "avalanche-playa3ull-testnet" | "avalanche-beam-mainnet" | "scroll-mainnet" | "eth-holesky" | "tomochain-mainnet" | "tomochain-testnet" | "avalanche-jono11-testnet" | "base-sepolia-testnet" | "xai-testnet" | "arbitrum-sepolia" | "lumoz-public-zksync-v2" | "lumoz-decibling" | "lumoz-stark-sport" | "avalanche-lt0-testnet" | "avalanche-lt1-testnet" | "avalanche-lt2-testnet" | "avalanche-lt3-testnet" | "avalanche-lt4-testnet" | "avalanche-lt5-testnet" | "syndr-testnet" | "crossfi-evm-testnet" | "celo-mainnet" | "taiko-katla-testnet" | "movement-mevm-testnet" | "zora-sepolia-testnet" | "merlin-mainnet" | "merlin-testnet" | "avalanche-hubble-exchange-mainnet" | "xai-mainnet";
|
|
9
9
|
export type Quote = "USD" | "CAD" | "EUR" | "SGD" | "INR" | "JPY" | "VND" | "CNY" | "KRW" | "RUB" | "TRY" | "NGN" | "ARS" | "AUD" | "CHF" | "GBP";
|
|
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 |
|
|
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 | 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 | 167008 | 336 | 999999999 | 4200 | 686868 | 1992 | 660279;
|
|
11
11
|
export type Source = "Ponder" | "GoldRush" | "Viem";
|
|
12
|
-
export declare const userAgent = "com.covalenthq.sdk.typescript/0.9.
|
|
12
|
+
export declare const userAgent = "com.covalenthq.sdk.typescript/0.9.5";
|
|
13
13
|
export declare class Response<T> {
|
|
14
14
|
data: T;
|
|
15
15
|
error: boolean;
|
|
@@ -54,13 +54,13 @@ declare class NftTokenContractBalanceItem {
|
|
|
54
54
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
55
55
|
contract_address: string;
|
|
56
56
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
57
|
-
supports_erc: string;
|
|
57
|
+
supports_erc: string[];
|
|
58
58
|
/** * Denotes whether the token is suspected spam. Supports `eth-mainnet` and `matic-mainnet`. */
|
|
59
59
|
is_spam: boolean;
|
|
60
60
|
last_transfered_at: Date;
|
|
61
61
|
/** * The asset balance. Use `contract_decimals` to scale this balance for display purposes. */
|
|
62
62
|
balance: bigint | null;
|
|
63
|
-
balance_24h:
|
|
63
|
+
balance_24h: string;
|
|
64
64
|
type: string;
|
|
65
65
|
/** * The current floor price converted to fiat in `quote-currency`. The floor price is determined by the last minimum sale price within the last 30 days across all the supported markets where the collection is sold on. */
|
|
66
66
|
floor_price_quote: number;
|
|
@@ -77,6 +77,8 @@ declare class NftData {
|
|
|
77
77
|
token_url: string;
|
|
78
78
|
/** * The original minter. */
|
|
79
79
|
original_owner: string;
|
|
80
|
+
/** * The current holder of this NFT. */
|
|
81
|
+
current_owner: string;
|
|
80
82
|
external_data: NftExternalData;
|
|
81
83
|
/** * If `true`, the asset data is available from the Covalent CDN. */
|
|
82
84
|
asset_cached: boolean;
|
|
@@ -150,7 +152,7 @@ declare class NftTransaction {
|
|
|
150
152
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
151
153
|
contract_address: string;
|
|
152
154
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
153
|
-
supports_erc: string;
|
|
155
|
+
supports_erc: string[];
|
|
154
156
|
nft_transactions: NftTransactionItem[];
|
|
155
157
|
/** * Denotes whether the token is suspected spam. Supports `eth-mainnet` and `matic-mainnet`. */
|
|
156
158
|
is_spam: boolean;
|
|
@@ -181,11 +183,11 @@ declare class NftTransactionItem {
|
|
|
181
183
|
value_quote: number;
|
|
182
184
|
/** * A prettier version of the quote for rendering purposes. */
|
|
183
185
|
pretty_value_quote: string;
|
|
184
|
-
gas_offered:
|
|
186
|
+
gas_offered: number;
|
|
185
187
|
/** * The gas spent for this tx. */
|
|
186
|
-
gas_spent:
|
|
188
|
+
gas_spent: number;
|
|
187
189
|
/** * The gas price at the time of this tx. */
|
|
188
|
-
gas_price:
|
|
190
|
+
gas_price: number;
|
|
189
191
|
/** * The total transaction fees (gas_price * gas_spent) paid for this tx, denoted in wei. */
|
|
190
192
|
fees_paid: bigint | null;
|
|
191
193
|
/** * The gas spent in `quote-currency` denomination. */
|
|
@@ -221,6 +223,8 @@ declare class LogEvent {
|
|
|
221
223
|
sender_address_label: string;
|
|
222
224
|
/** * The contract logo URL. */
|
|
223
225
|
sender_logo_url: string;
|
|
226
|
+
/** * The address of the deployed UniswapV2 like factory contract for this DEX. */
|
|
227
|
+
sender_factory_address: string;
|
|
224
228
|
/** * The log events in raw. */
|
|
225
229
|
raw_log_data: string;
|
|
226
230
|
/** * The decoded item. */
|
|
@@ -326,11 +330,11 @@ declare class NftOwnershipForCollectionItem {
|
|
|
326
330
|
/** * The token's id. */
|
|
327
331
|
token_id: bigint | null;
|
|
328
332
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
329
|
-
supports_erc: string;
|
|
333
|
+
supports_erc: string[];
|
|
330
334
|
last_transfered_at: Date;
|
|
331
335
|
/** * Nft balance. */
|
|
332
336
|
balance: bigint | null;
|
|
333
|
-
balance_24h:
|
|
337
|
+
balance_24h: string;
|
|
334
338
|
type: string;
|
|
335
339
|
nft_data: NftData;
|
|
336
340
|
constructor(data: NftOwnershipForCollectionItem);
|
|
@@ -10,7 +10,7 @@ declare class TokenPricesResponse {
|
|
|
10
10
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
11
11
|
contract_address: string;
|
|
12
12
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
13
|
-
supports_erc: string;
|
|
13
|
+
supports_erc: string[];
|
|
14
14
|
/** * The contract logo URL. */
|
|
15
15
|
logo_url: string;
|
|
16
16
|
update_at: Date;
|
|
@@ -53,7 +53,7 @@ declare class ContractMetadata {
|
|
|
53
53
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
54
54
|
contract_address: string;
|
|
55
55
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
56
|
-
supports_erc: string;
|
|
56
|
+
supports_erc: string[];
|
|
57
57
|
/** * The contract logo URL. */
|
|
58
58
|
logo_url: string;
|
|
59
59
|
constructor(data: ContractMetadata);
|
|
@@ -42,11 +42,11 @@ declare class Transaction {
|
|
|
42
42
|
pretty_value_quote: string;
|
|
43
43
|
/** * The requested chain native gas token metadata. */
|
|
44
44
|
gas_metadata: ContractMetadata;
|
|
45
|
-
gas_offered:
|
|
45
|
+
gas_offered: number;
|
|
46
46
|
/** * The gas spent for this tx. */
|
|
47
|
-
gas_spent:
|
|
47
|
+
gas_spent: number;
|
|
48
48
|
/** * The gas price at the time of this tx. */
|
|
49
|
-
gas_price:
|
|
49
|
+
gas_price: number;
|
|
50
50
|
/** * The total transaction fees (`gas_price` * `gas_spent`) paid for this tx, denoted in wei. */
|
|
51
51
|
fees_paid: bigint | null;
|
|
52
52
|
/** * The gas spent in `quote-currency` denomination. */
|
|
@@ -79,7 +79,7 @@ declare class ContractMetadata {
|
|
|
79
79
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
80
80
|
contract_address: string;
|
|
81
81
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
82
|
-
supports_erc: string;
|
|
82
|
+
supports_erc: string[];
|
|
83
83
|
/** * The contract logo URL. */
|
|
84
84
|
logo_url: string;
|
|
85
85
|
constructor(data: ContractMetadata);
|
|
@@ -98,7 +98,7 @@ declare class DexReport {
|
|
|
98
98
|
protocol_name: string;
|
|
99
99
|
/** * Stores the contract address of the protocol that facilitated the event. */
|
|
100
100
|
protocol_address: string;
|
|
101
|
-
/** *
|
|
101
|
+
/** * The protocol logo URL. */
|
|
102
102
|
protocol_logo_url: string;
|
|
103
103
|
/** * Stores the aggregator responsible for the event. */
|
|
104
104
|
aggregator_name: string;
|
|
@@ -119,7 +119,7 @@ declare class DexReport {
|
|
|
119
119
|
lp_token_ticker: string;
|
|
120
120
|
lp_token_num_decimals: number;
|
|
121
121
|
lp_token_name: string;
|
|
122
|
-
lp_token_value:
|
|
122
|
+
lp_token_value: string;
|
|
123
123
|
exchange_rate_usd: number;
|
|
124
124
|
/** * Stores the address of token 0 in the specific pair. */
|
|
125
125
|
token_0_address: string;
|
|
@@ -138,13 +138,13 @@ declare class DexReport {
|
|
|
138
138
|
/** * Stores the contract name of token 1 in the specific pair. */
|
|
139
139
|
token_1_name: string;
|
|
140
140
|
/** * Stores the amount of token 0 used in the transaction. For example, 1 ETH, 100 USDC, 30 UNI, etc. */
|
|
141
|
-
token_0_amount:
|
|
141
|
+
token_0_amount: string;
|
|
142
142
|
token_0_quote_rate: number;
|
|
143
143
|
token_0_usd_quote: number;
|
|
144
144
|
pretty_token_0_usd_quote: string;
|
|
145
145
|
token_0_logo_url: string;
|
|
146
146
|
/** * Stores the amount of token 1 used in the transaction. For example, 1 ETH, 100 USDC, 30 UNI, etc. */
|
|
147
|
-
token_1_amount:
|
|
147
|
+
token_1_amount: string;
|
|
148
148
|
token_1_quote_rate: number;
|
|
149
149
|
token_1_usd_quote: number;
|
|
150
150
|
pretty_token_1_usd_quote: string;
|
|
@@ -164,7 +164,7 @@ declare class NftSalesReport {
|
|
|
164
164
|
protocol_contract_address: string;
|
|
165
165
|
/** * Stores the name of the protocol that facilitated the event. */
|
|
166
166
|
protocol_name: string;
|
|
167
|
-
/** *
|
|
167
|
+
/** * The protocol logo URL. */
|
|
168
168
|
protocol_logo_url: string;
|
|
169
169
|
/** * Stores the address of the transaction recipient. */
|
|
170
170
|
to: string;
|
|
@@ -175,7 +175,7 @@ declare class NftSalesReport {
|
|
|
175
175
|
/** * Stores the address buying the NFT. */
|
|
176
176
|
taker: string;
|
|
177
177
|
/** * Stores the NFTs token ID. All NFTs have a token ID. Within a collection, these token IDs are unique. If the NFT is transferred to another owner, the token id remains the same, as this number is its identifier within a collection. For example, if a collection has 10K NFTs then an NFT in that collection can have a token ID from 1-10K. */
|
|
178
|
-
token_id:
|
|
178
|
+
token_id: string;
|
|
179
179
|
/** * Stores the address of the collection. For example, [Bored Ape Yacht Club](https://etherscan.io/token/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d) */
|
|
180
180
|
collection_address: string;
|
|
181
181
|
/** * Stores the name of the collection. */
|
|
@@ -214,7 +214,7 @@ declare class LendingReport {
|
|
|
214
214
|
protocol_name: string;
|
|
215
215
|
/** * Stores the contract address of the lending protocol that facilitated the event. */
|
|
216
216
|
protocol_address: string;
|
|
217
|
-
/** *
|
|
217
|
+
/** * The protocol logo URL. */
|
|
218
218
|
protocol_logo_url: string;
|
|
219
219
|
/** * Lending protocols often have multiple version (e.g. Aave V1, V2 and V3). The `version` field allows you to look at a specific version of the Lending protocol. */
|
|
220
220
|
version: string;
|
|
@@ -16,15 +16,15 @@ declare class PoolResponse {
|
|
|
16
16
|
declare class Pool {
|
|
17
17
|
/** * The pair address. */
|
|
18
18
|
exchange: string;
|
|
19
|
-
swap_count_24h:
|
|
19
|
+
swap_count_24h: number;
|
|
20
20
|
/** * The total liquidity converted to fiat in `quote-currency`. */
|
|
21
|
-
total_liquidity_quote:
|
|
22
|
-
volume_24h_quote:
|
|
23
|
-
fee_24h_quote:
|
|
21
|
+
total_liquidity_quote: number;
|
|
22
|
+
volume_24h_quote: number;
|
|
23
|
+
fee_24h_quote: number;
|
|
24
24
|
/** * Total supply of this pool token. */
|
|
25
25
|
total_supply: bigint | null;
|
|
26
26
|
/** * The exchange rate for the requested quote currency. */
|
|
27
|
-
quote_rate:
|
|
27
|
+
quote_rate: number;
|
|
28
28
|
/** * A prettier version of the total liquidity quote for rendering purposes. */
|
|
29
29
|
pretty_total_liquidity_quote: string;
|
|
30
30
|
/** * A prettier version of the volume 24h quote for rendering purposes. */
|
|
@@ -39,8 +39,8 @@ declare class Pool {
|
|
|
39
39
|
chain_id: string;
|
|
40
40
|
/** * The name of the DEX, eg: `uniswap_v2`. */
|
|
41
41
|
dex_name: string;
|
|
42
|
-
volume_7d_quote:
|
|
43
|
-
annualized_fee:
|
|
42
|
+
volume_7d_quote: number;
|
|
43
|
+
annualized_fee: number;
|
|
44
44
|
token_0: Token;
|
|
45
45
|
token_1: Token;
|
|
46
46
|
constructor(data: Pool);
|
|
@@ -71,14 +71,14 @@ declare class Token {
|
|
|
71
71
|
volume_in_24h: string;
|
|
72
72
|
volume_out_24h: string;
|
|
73
73
|
/** * The exchange rate for the requested quote currency. */
|
|
74
|
-
quote_rate:
|
|
74
|
+
quote_rate: number;
|
|
75
75
|
reserve: string;
|
|
76
76
|
/** * The contract logo URL. */
|
|
77
77
|
logo_url: string;
|
|
78
78
|
/** * The ticker symbol for this contract. This field is set by a developer and non-unique across a network. */
|
|
79
79
|
contract_ticker_symbol: string;
|
|
80
80
|
/** * Use contract decimals to format the token balance for display purposes - divide the balance by `10^{contract_decimals}`. */
|
|
81
|
-
contract_decimals:
|
|
81
|
+
contract_decimals: number;
|
|
82
82
|
volume_in_7d: string;
|
|
83
83
|
volume_out_7d: string;
|
|
84
84
|
constructor(data: Token);
|
|
@@ -108,7 +108,7 @@ declare class SupportedDex {
|
|
|
108
108
|
/** * The dex logo URL. */
|
|
109
109
|
logo_url: string;
|
|
110
110
|
factory_contract_address: string;
|
|
111
|
-
router_contract_addresses: string;
|
|
111
|
+
router_contract_addresses: string[];
|
|
112
112
|
swap_fee: number;
|
|
113
113
|
constructor(data: SupportedDex);
|
|
114
114
|
}
|
|
@@ -135,21 +135,21 @@ declare class PoolWithTimeseries {
|
|
|
135
135
|
exchange: string;
|
|
136
136
|
/** * A list of explorers for this address. */
|
|
137
137
|
explorers: Explorer[];
|
|
138
|
-
swap_count_24h:
|
|
138
|
+
swap_count_24h: number;
|
|
139
139
|
/** * The total liquidity converted to fiat in `quote-currency`. */
|
|
140
|
-
total_liquidity_quote:
|
|
141
|
-
volume_24h_quote:
|
|
142
|
-
fee_24h_quote:
|
|
140
|
+
total_liquidity_quote: number;
|
|
141
|
+
volume_24h_quote: number;
|
|
142
|
+
fee_24h_quote: number;
|
|
143
143
|
/** * Total supply of this pool token. */
|
|
144
144
|
total_supply: bigint | null;
|
|
145
145
|
/** * The exchange rate for the requested quote currency. */
|
|
146
|
-
quote_rate:
|
|
146
|
+
quote_rate: number;
|
|
147
147
|
/** * The requested chain ID eg: `1`. */
|
|
148
148
|
chain_id: string;
|
|
149
149
|
/** * The name of the DEX, eg: `uniswap_v2`. */
|
|
150
150
|
dex_name: string;
|
|
151
|
-
volume_7d_quote:
|
|
152
|
-
annualized_fee:
|
|
151
|
+
volume_7d_quote: number;
|
|
152
|
+
annualized_fee: number;
|
|
153
153
|
/** * A prettier version of the total liquidity quote for rendering purposes. */
|
|
154
154
|
pretty_total_liquidity_quote: string;
|
|
155
155
|
/** * A prettier version of the volume 24h quote for rendering purposes. */
|
|
@@ -160,8 +160,8 @@ declare class PoolWithTimeseries {
|
|
|
160
160
|
pretty_volume_7d_quote: string;
|
|
161
161
|
token_0: Token;
|
|
162
162
|
token_1: Token;
|
|
163
|
-
token_0_reserve_quote:
|
|
164
|
-
token_1_reserve_quote:
|
|
163
|
+
token_0_reserve_quote: number;
|
|
164
|
+
token_1_reserve_quote: number;
|
|
165
165
|
volume_timeseries_7d: VolumeTimeseries[];
|
|
166
166
|
volume_timeseries_30d: VolumeTimeseries[];
|
|
167
167
|
liquidity_timeseries_7d: LiquidityTimeseries[];
|
|
@@ -175,19 +175,19 @@ declare class VolumeTimeseries {
|
|
|
175
175
|
dex_name: string;
|
|
176
176
|
/** * The requested chain ID eg: `1`. */
|
|
177
177
|
chain_id: string;
|
|
178
|
-
dt:
|
|
178
|
+
dt: Date;
|
|
179
179
|
/** * The pair address. */
|
|
180
180
|
exchange: string;
|
|
181
181
|
sum_amount0in: string;
|
|
182
182
|
sum_amount0out: string;
|
|
183
183
|
sum_amount1in: string;
|
|
184
184
|
sum_amount1out: string;
|
|
185
|
-
volume_quote:
|
|
185
|
+
volume_quote: number;
|
|
186
186
|
/** * A prettier version of the volume quote for rendering purposes. */
|
|
187
187
|
pretty_volume_quote: string;
|
|
188
|
-
token_0_quote_rate:
|
|
189
|
-
token_1_quote_rate:
|
|
190
|
-
swap_count_24:
|
|
188
|
+
token_0_quote_rate: number;
|
|
189
|
+
token_1_quote_rate: number;
|
|
190
|
+
swap_count_24: number;
|
|
191
191
|
constructor(data: VolumeTimeseries);
|
|
192
192
|
}
|
|
193
193
|
declare class LiquidityTimeseries {
|
|
@@ -195,16 +195,16 @@ declare class LiquidityTimeseries {
|
|
|
195
195
|
dex_name: string;
|
|
196
196
|
/** * The requested chain ID eg: `1`. */
|
|
197
197
|
chain_id: string;
|
|
198
|
-
dt:
|
|
198
|
+
dt: Date;
|
|
199
199
|
/** * The pair address. */
|
|
200
200
|
exchange: string;
|
|
201
201
|
r0_c: string;
|
|
202
202
|
r1_c: string;
|
|
203
|
-
liquidity_quote:
|
|
203
|
+
liquidity_quote: number;
|
|
204
204
|
/** * A prettier version of the liquidity quote for rendering purposes. */
|
|
205
205
|
pretty_liquidity_quote: string;
|
|
206
|
-
token_0_quote_rate:
|
|
207
|
-
token_1_quote_rate:
|
|
206
|
+
token_0_quote_rate: number;
|
|
207
|
+
token_1_quote_rate: number;
|
|
208
208
|
constructor(data: LiquidityTimeseries);
|
|
209
209
|
}
|
|
210
210
|
declare class PriceTimeseries {
|
|
@@ -212,21 +212,21 @@ declare class PriceTimeseries {
|
|
|
212
212
|
dex_name: string;
|
|
213
213
|
/** * The requested chain ID eg: `1`. */
|
|
214
214
|
chain_id: string;
|
|
215
|
-
dt:
|
|
215
|
+
dt: Date;
|
|
216
216
|
/** * The pair address. */
|
|
217
217
|
exchange: string;
|
|
218
|
-
price_of_token0_in_token1:
|
|
218
|
+
price_of_token0_in_token1: number;
|
|
219
219
|
/** * A prettier version of the price token0 for rendering purposes. */
|
|
220
220
|
pretty_price_of_token0_in_token1: string;
|
|
221
221
|
price_of_token0_in_token1_description: string;
|
|
222
|
-
price_of_token1_in_token0:
|
|
222
|
+
price_of_token1_in_token0: number;
|
|
223
223
|
/** * A prettier version of the price token1 for rendering purposes. */
|
|
224
224
|
pretty_price_of_token1_in_token0: string;
|
|
225
225
|
price_of_token1_in_token0_description: string;
|
|
226
226
|
/** * The requested quote currency eg: `USD`. */
|
|
227
227
|
quote_currency: string;
|
|
228
|
-
price_of_token0_in_quote_currency:
|
|
229
|
-
price_of_token1_in_quote_currency:
|
|
228
|
+
price_of_token0_in_quote_currency: number;
|
|
229
|
+
price_of_token1_in_quote_currency: number;
|
|
230
230
|
constructor(data: PriceTimeseries);
|
|
231
231
|
}
|
|
232
232
|
declare class PoolsDexDataResponse {
|
|
@@ -383,8 +383,8 @@ declare class TokenV2Volume {
|
|
|
383
383
|
contract_address: string;
|
|
384
384
|
/** * The string returned by the `name()` method. */
|
|
385
385
|
contract_name: string;
|
|
386
|
-
total_liquidity:
|
|
387
|
-
total_volume_24h:
|
|
386
|
+
total_liquidity: string;
|
|
387
|
+
total_volume_24h: string;
|
|
388
388
|
/** * The contract logo URL. */
|
|
389
389
|
logo_url: string;
|
|
390
390
|
/** * The ticker symbol for this contract. This field is set by a developer and non-unique across a network. */
|
|
@@ -439,9 +439,9 @@ declare class TokenV2VolumeWithChartData {
|
|
|
439
439
|
/** * A list of explorers for this address. */
|
|
440
440
|
explorers: Explorer[];
|
|
441
441
|
/** * The total liquidity unscaled value. */
|
|
442
|
-
total_liquidity:
|
|
442
|
+
total_liquidity: string;
|
|
443
443
|
/** * The total volume 24h unscaled value. */
|
|
444
|
-
total_volume_24h:
|
|
444
|
+
total_volume_24h: string;
|
|
445
445
|
/** * The contract logo URL. */
|
|
446
446
|
logo_url: string;
|
|
447
447
|
/** * The ticker symbol for this contract. This field is set by a developer and non-unique across a network. */
|
|
@@ -482,7 +482,7 @@ declare class VolumeTokenTimeseries {
|
|
|
482
482
|
/** * The requested chain ID eg: `1`. */
|
|
483
483
|
chain_id: string;
|
|
484
484
|
/** * The current date. */
|
|
485
|
-
dt:
|
|
485
|
+
dt: Date;
|
|
486
486
|
/** * The total volume unscaled for this day. */
|
|
487
487
|
total_volume: string;
|
|
488
488
|
/** * The volume in `quote-currency` denomination. */
|
|
@@ -497,7 +497,7 @@ declare class LiquidityTokenTimeseries {
|
|
|
497
497
|
/** * The requested chain ID eg: `1`. */
|
|
498
498
|
chain_id: string;
|
|
499
499
|
/** * The current date. */
|
|
500
|
-
dt:
|
|
500
|
+
dt: Date;
|
|
501
501
|
/** * The total liquidity unscaled up to this day. */
|
|
502
502
|
total_liquidity: string;
|
|
503
503
|
/** * The liquidity in `quote-currency` denomination. */
|
|
@@ -512,7 +512,7 @@ declare class PriceTokenTimeseries {
|
|
|
512
512
|
/** * The requested chain ID eg: `1`. */
|
|
513
513
|
chain_id: string;
|
|
514
514
|
/** * The current date. */
|
|
515
|
-
dt:
|
|
515
|
+
dt: Date;
|
|
516
516
|
/** * The currency to convert. Supports `USD`, `CAD`, `EUR`, `SGD`, `INR`, `JPY`, `VND`, `CNY`, `KRW`, `RUB`, `TRY`, `NGN`, `ARS`, `AUD`, `CHF`, and `GBP`. */
|
|
517
517
|
quote_currency: string;
|
|
518
518
|
/** * The exchange rate for the requested quote currency. */
|
|
@@ -566,12 +566,12 @@ declare class ExchangeTransaction {
|
|
|
566
566
|
address: string;
|
|
567
567
|
/** * A list of explorers for this transaction. */
|
|
568
568
|
explorers: Explorer[];
|
|
569
|
-
amount_0:
|
|
570
|
-
amount_1:
|
|
571
|
-
amount_0_in:
|
|
572
|
-
amount_0_out:
|
|
573
|
-
amount_1_in:
|
|
574
|
-
amount_1_out:
|
|
569
|
+
amount_0: string;
|
|
570
|
+
amount_1: string;
|
|
571
|
+
amount_0_in: string;
|
|
572
|
+
amount_0_out: string;
|
|
573
|
+
amount_1_in: string;
|
|
574
|
+
amount_1_out: string;
|
|
575
575
|
to_address: string;
|
|
576
576
|
from_address: string;
|
|
577
577
|
sender_address: string;
|
|
@@ -587,11 +587,11 @@ declare class ExchangeTransaction {
|
|
|
587
587
|
/** * The requested chain native gas token metadata. */
|
|
588
588
|
gas_metadata: ContractMetadata;
|
|
589
589
|
/** * The amount of gas supplied for this tx. */
|
|
590
|
-
gas_offered:
|
|
590
|
+
gas_offered: number;
|
|
591
591
|
/** * The gas spent for this tx. */
|
|
592
|
-
gas_spent:
|
|
592
|
+
gas_spent: number;
|
|
593
593
|
/** * The gas price at the time of this tx. */
|
|
594
|
-
gas_price:
|
|
594
|
+
gas_price: number;
|
|
595
595
|
/** * The total transaction fees (`gas_price` * `gas_spent`) paid for this tx, denoted in wei. */
|
|
596
596
|
fees_paid: bigint | null;
|
|
597
597
|
/** * The gas spent in `quote-currency` denomination. */
|
|
@@ -618,7 +618,7 @@ declare class ContractMetadata {
|
|
|
618
618
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
619
619
|
contract_address: string;
|
|
620
620
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
621
|
-
supports_erc: string;
|
|
621
|
+
supports_erc: string[];
|
|
622
622
|
/** * The contract logo URL. */
|
|
623
623
|
logo_url: string;
|
|
624
624
|
constructor(data: ContractMetadata);
|
package/dist/es/util/Chains.d.ts
CHANGED
|
@@ -35,10 +35,10 @@ export declare enum Chains {
|
|
|
35
35
|
HECO_TESTNET = "heco-testnet",
|
|
36
36
|
NERVOS_GODWOKEN_TESTNET = "nervos-godwoken-testnet",
|
|
37
37
|
EVMOS_TESTNET = "evmos-testnet",
|
|
38
|
-
ASTAR_SHIDEN = "astar-shiden",
|
|
39
38
|
IOTEX_TESTNET = "iotex-testnet",
|
|
40
39
|
HARMONY_TESTNET = "harmony-testnet",
|
|
41
40
|
AURORA_TESTNET = "aurora-testnet",
|
|
41
|
+
SCROLL_L2_TESTNET = "scroll-l2-testnet",
|
|
42
42
|
SCROLL_SEPOLIA_TESTNET = "scroll-sepolia-testnet",
|
|
43
43
|
COVALENT_INTERNAL_NETWORK_V1 = "covalent-internal-network-v1",
|
|
44
44
|
DEFI_KINGDOMS_MAINNET = "defi-kingdoms-mainnet",
|
|
@@ -109,13 +109,13 @@ export declare enum Chains {
|
|
|
109
109
|
HORIZEN_GOBI_TESTNET = "horizen-gobi-testnet",
|
|
110
110
|
ETH_SEPOLIA = "eth-sepolia",
|
|
111
111
|
SKALE_NEBULA = "skale-nebula",
|
|
112
|
-
|
|
112
|
+
SKALE_BATTLEGROUND = "skale-battleground",
|
|
113
113
|
AVALANCHE_MELD_TESTNET = "avalanche-meld-testnet",
|
|
114
114
|
GUNZILLA_TESTNET = "gunzilla-testnet",
|
|
115
115
|
ULTRON_MAINNET = "ultron-mainnet",
|
|
116
116
|
ULTRON_TESTNET = "ultron-testnet",
|
|
117
117
|
ZORA_MAINNET = "zora-mainnet",
|
|
118
|
-
|
|
118
|
+
ZORA_GOERLI_TESTNET = "zora-goerli-testnet",
|
|
119
119
|
NEON_MAINNET = "neon-mainnet",
|
|
120
120
|
AVALANCHE_SHRAPNEL_MAINNET = "avalanche-shrapnel-mainnet",
|
|
121
121
|
BASE_MAINNET = "base-mainnet",
|
|
@@ -194,5 +194,30 @@ export declare enum Chains {
|
|
|
194
194
|
AVALANCHE_PLAYA3ULL_TESTNET = "avalanche-playa3ull-testnet",
|
|
195
195
|
AVALANCHE_BEAM_MAINNET = "avalanche-beam-mainnet",
|
|
196
196
|
SCROLL_MAINNET = "scroll-mainnet",
|
|
197
|
-
ETH_HOLESKY = "eth-holesky"
|
|
197
|
+
ETH_HOLESKY = "eth-holesky",
|
|
198
|
+
TOMOCHAIN_MAINNET = "tomochain-mainnet",
|
|
199
|
+
TOMOCHAIN_TESTNET = "tomochain-testnet",
|
|
200
|
+
AVALANCHE_JONO11_TESTNET = "avalanche-jono11-testnet",
|
|
201
|
+
BASE_SEPOLIA_TESTNET = "base-sepolia-testnet",
|
|
202
|
+
XAI_TESTNET = "xai-testnet",
|
|
203
|
+
ARBITRUM_SEPOLIA = "arbitrum-sepolia",
|
|
204
|
+
LUMOZ_PUBLIC_ZKSYNC_V2 = "lumoz-public-zksync-v2",
|
|
205
|
+
LUMOZ_DECIBLING = "lumoz-decibling",
|
|
206
|
+
LUMOZ_STARK_SPORT = "lumoz-stark-sport",
|
|
207
|
+
AVALANCHE_LT0_TESTNET = "avalanche-lt0-testnet",
|
|
208
|
+
AVALANCHE_LT1_TESTNET = "avalanche-lt1-testnet",
|
|
209
|
+
AVALANCHE_LT2_TESTNET = "avalanche-lt2-testnet",
|
|
210
|
+
AVALANCHE_LT3_TESTNET = "avalanche-lt3-testnet",
|
|
211
|
+
AVALANCHE_LT4_TESTNET = "avalanche-lt4-testnet",
|
|
212
|
+
AVALANCHE_LT5_TESTNET = "avalanche-lt5-testnet",
|
|
213
|
+
SYNDR_TESTNET = "syndr-testnet",
|
|
214
|
+
CROSSFI_EVM_TESTNET = "crossfi-evm-testnet",
|
|
215
|
+
CELO_MAINNET = "celo-mainnet",
|
|
216
|
+
TAIKO_KATLA_TESTNET = "taiko-katla-testnet",
|
|
217
|
+
MOVEMENT_MEVM_TESTNET = "movement-mevm-testnet",
|
|
218
|
+
ZORA_SEPOLIA_TESTNET = "zora-sepolia-testnet",
|
|
219
|
+
MERLIN_MAINNET = "merlin-mainnet",
|
|
220
|
+
MERLIN_TESTNET = "merlin-testnet",
|
|
221
|
+
AVALANCHE_HUBBLE_EXCHANGE_MAINNET = "avalanche-hubble-exchange-mainnet",
|
|
222
|
+
XAI_MAINNET = "xai-mainnet"
|
|
198
223
|
}
|
|
@@ -25,7 +25,7 @@ export interface BalanceItem {
|
|
|
25
25
|
/** * A display-friendly name for the contract. */
|
|
26
26
|
contract_display_name: string;
|
|
27
27
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
28
|
-
supports_erc: string;
|
|
28
|
+
supports_erc: string[];
|
|
29
29
|
/** * The contract logo URL. */
|
|
30
30
|
logo_url: string;
|
|
31
31
|
/** * The contract logo URLs. */
|
|
@@ -238,7 +238,7 @@ export interface TokenHolder {
|
|
|
238
238
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
239
239
|
contract_address: string;
|
|
240
240
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
241
|
-
supports_erc: string;
|
|
241
|
+
supports_erc: string[];
|
|
242
242
|
/** * The contract logo URL. */
|
|
243
243
|
logo_url: string;
|
|
244
244
|
/** * The requested address. */
|
|
@@ -274,7 +274,7 @@ export interface HistoricalBalanceItem {
|
|
|
274
274
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
275
275
|
contract_address: string;
|
|
276
276
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
277
|
-
supports_erc: string;
|
|
277
|
+
supports_erc: string[];
|
|
278
278
|
/** * The contract logo URL. */
|
|
279
279
|
logo_url: string;
|
|
280
280
|
/** * The height of the block. */
|
|
@@ -324,7 +324,7 @@ export interface NativeBalanceItem {
|
|
|
324
324
|
/** * Use the relevant `contract_address` to lookup prices, logos, token transfers, etc. */
|
|
325
325
|
contract_address: string;
|
|
326
326
|
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
327
|
-
supports_erc: string;
|
|
327
|
+
supports_erc: string[];
|
|
328
328
|
/** * The contract logo URL. */
|
|
329
329
|
logo_url: string;
|
|
330
330
|
/** * The height of the block. */
|