@covalenthq/client-sdk 2.0.0 → 2.0.1
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.d.ts +17 -0
- package/dist/cjs/index.js +2862 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/src/GoldRushClient.d.ts +20 -0
- package/dist/cjs/src/services/BalanceService.d.ts +125 -0
- package/dist/cjs/src/services/BaseService.d.ts +161 -0
- package/dist/cjs/src/services/NftService.d.ts +157 -0
- package/dist/cjs/src/services/PricingService.d.ts +25 -0
- package/dist/cjs/src/services/SecurityService.d.ts +28 -0
- package/dist/cjs/src/services/TransactionService.d.ts +128 -0
- package/dist/cjs/src/utils/functions/bigIntParser.d.ts +1 -0
- package/dist/cjs/src/utils/functions/calculatePrettyBalance.d.ts +1 -0
- package/dist/cjs/src/utils/functions/debugOutput.d.ts +2 -0
- package/dist/cjs/src/utils/functions/endpointGenerator.d.ts +4 -0
- package/dist/cjs/src/utils/functions/execution.d.ts +11 -0
- package/dist/cjs/src/utils/functions/isValidApiKey.d.ts +1 -0
- package/dist/cjs/src/utils/functions/paginateEndpoint.d.ts +7 -0
- package/dist/cjs/src/utils/functions/prettifyCurrency.d.ts +2 -0
- package/dist/cjs/src/utils/types/BalanceService.types.d.ts +442 -0
- package/dist/cjs/src/utils/types/BaseService.types.d.ts +326 -0
- package/dist/cjs/src/utils/types/Generic.types.d.ts +477 -0
- package/dist/cjs/src/utils/types/NftService.types.d.ts +273 -0
- package/dist/cjs/src/utils/types/PricingService.types.d.ts +39 -0
- package/dist/cjs/src/utils/types/SecurityService.types.d.ts +122 -0
- package/dist/cjs/src/utils/types/TransactionService.types.d.ts +474 -0
- package/dist/es/index.d.ts +17 -0
- package/dist/es/index.js +2854 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/src/GoldRushClient.d.ts +20 -0
- package/dist/es/src/services/BalanceService.d.ts +125 -0
- package/dist/es/src/services/BaseService.d.ts +161 -0
- package/dist/es/src/services/NftService.d.ts +157 -0
- package/dist/es/src/services/PricingService.d.ts +25 -0
- package/dist/es/src/services/SecurityService.d.ts +28 -0
- package/dist/es/src/services/TransactionService.d.ts +128 -0
- package/dist/es/src/utils/functions/bigIntParser.d.ts +1 -0
- package/dist/es/src/utils/functions/calculatePrettyBalance.d.ts +1 -0
- package/dist/es/src/utils/functions/debugOutput.d.ts +2 -0
- package/dist/es/src/utils/functions/endpointGenerator.d.ts +4 -0
- package/dist/es/src/utils/functions/execution.d.ts +11 -0
- package/dist/es/src/utils/functions/isValidApiKey.d.ts +1 -0
- package/dist/es/src/utils/functions/paginateEndpoint.d.ts +7 -0
- package/dist/es/src/utils/functions/prettifyCurrency.d.ts +2 -0
- package/dist/es/src/utils/types/BalanceService.types.d.ts +442 -0
- package/dist/es/src/utils/types/BaseService.types.d.ts +326 -0
- package/dist/es/src/utils/types/Generic.types.d.ts +477 -0
- package/dist/es/src/utils/types/NftService.types.d.ts +273 -0
- package/dist/es/src/utils/types/PricingService.types.d.ts +39 -0
- package/dist/es/src/utils/types/SecurityService.types.d.ts +122 -0
- package/dist/es/src/utils/types/TransactionService.types.d.ts +474 -0
- package/dist/esm/index.d.ts +17 -0
- package/dist/esm/index.js +2854 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/src/GoldRushClient.d.ts +20 -0
- package/dist/esm/src/services/BalanceService.d.ts +125 -0
- package/dist/esm/src/services/BaseService.d.ts +161 -0
- package/dist/esm/src/services/NftService.d.ts +157 -0
- package/dist/esm/src/services/PricingService.d.ts +25 -0
- package/dist/esm/src/services/SecurityService.d.ts +28 -0
- package/dist/esm/src/services/TransactionService.d.ts +128 -0
- package/dist/esm/src/utils/functions/bigIntParser.d.ts +1 -0
- package/dist/esm/src/utils/functions/calculatePrettyBalance.d.ts +1 -0
- package/dist/esm/src/utils/functions/debugOutput.d.ts +2 -0
- package/dist/esm/src/utils/functions/endpointGenerator.d.ts +4 -0
- package/dist/esm/src/utils/functions/execution.d.ts +11 -0
- package/dist/esm/src/utils/functions/isValidApiKey.d.ts +1 -0
- package/dist/esm/src/utils/functions/paginateEndpoint.d.ts +7 -0
- package/dist/esm/src/utils/functions/prettifyCurrency.d.ts +2 -0
- package/dist/esm/src/utils/types/BalanceService.types.d.ts +442 -0
- package/dist/esm/src/utils/types/BaseService.types.d.ts +326 -0
- package/dist/esm/src/utils/types/Generic.types.d.ts +477 -0
- package/dist/esm/src/utils/types/NftService.types.d.ts +273 -0
- package/dist/esm/src/utils/types/PricingService.types.d.ts +39 -0
- package/dist/esm/src/utils/types/SecurityService.types.d.ts +122 -0
- package/dist/esm/src/utils/types/TransactionService.types.d.ts +474 -0
- package/package.json +2 -2
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import { type ChainID, type ChainName, type DecodedItem, type LogEvent, type Pagination, type Quote } from "./Generic.types";
|
|
2
|
+
export interface BlockResponse {
|
|
3
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
4
|
+
updated_at: Date;
|
|
5
|
+
/** * The requested chain ID eg: `1`. */
|
|
6
|
+
chain_id: ChainID;
|
|
7
|
+
/** * The requested chain name eg: `eth-mainnet`. */
|
|
8
|
+
chain_name: ChainName;
|
|
9
|
+
/** * List of response items. */
|
|
10
|
+
items: Block[];
|
|
11
|
+
}
|
|
12
|
+
export interface Block {
|
|
13
|
+
/** * The hash of the block. */
|
|
14
|
+
block_hash: string;
|
|
15
|
+
/** * The block signed timestamp in UTC. */
|
|
16
|
+
signed_at: Date;
|
|
17
|
+
/** * The block height. */
|
|
18
|
+
height: number;
|
|
19
|
+
/** * The parent block hash. */
|
|
20
|
+
block_parent_hash: string;
|
|
21
|
+
/** * Extra data written to the block. */
|
|
22
|
+
extra_data: string;
|
|
23
|
+
/** * The address of the miner. */
|
|
24
|
+
miner_address: string;
|
|
25
|
+
/** * The associated mining cost. */
|
|
26
|
+
mining_cost: number;
|
|
27
|
+
/** * The associated gas used. */
|
|
28
|
+
gas_used: number;
|
|
29
|
+
/** * The associated gas limit. */
|
|
30
|
+
gas_limit: number;
|
|
31
|
+
/** * The link to the related tx by block endpoint. */
|
|
32
|
+
transactions_link: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ResolvedAddress {
|
|
35
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
36
|
+
updated_at: Date;
|
|
37
|
+
/** * The requested chain ID eg: `1`. */
|
|
38
|
+
chain_id: ChainID;
|
|
39
|
+
/** * The requested chain name eg: `eth-mainnet`. */
|
|
40
|
+
chain_name: ChainName;
|
|
41
|
+
/** * List of response items. */
|
|
42
|
+
items: ResolvedAddressItem[];
|
|
43
|
+
}
|
|
44
|
+
export interface ResolvedAddressItem {
|
|
45
|
+
/** * The requested address. */
|
|
46
|
+
address: string;
|
|
47
|
+
name: string;
|
|
48
|
+
}
|
|
49
|
+
export interface BlockHeightsResponse {
|
|
50
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
51
|
+
updated_at: Date;
|
|
52
|
+
/** * The requested chain ID eg: `1`. */
|
|
53
|
+
chain_id: ChainID;
|
|
54
|
+
/** * The requested chain name eg: `eth-mainnet`. */
|
|
55
|
+
chain_name: ChainName;
|
|
56
|
+
/** * List of response items. */
|
|
57
|
+
items: BlockHeights[];
|
|
58
|
+
/** * Pagination metadata. */
|
|
59
|
+
pagination: Pagination;
|
|
60
|
+
}
|
|
61
|
+
export interface BlockHeights {
|
|
62
|
+
/** * The hash of the block. */
|
|
63
|
+
block_hash: string;
|
|
64
|
+
/** * The block signed timestamp in UTC. */
|
|
65
|
+
signed_at: Date;
|
|
66
|
+
/** * The block height. */
|
|
67
|
+
height: number;
|
|
68
|
+
/** * The parent block hash. */
|
|
69
|
+
block_parent_hash: string;
|
|
70
|
+
/** * Extra data written to the block. */
|
|
71
|
+
extra_data: string;
|
|
72
|
+
/** * The address of the miner. */
|
|
73
|
+
miner_address: string;
|
|
74
|
+
/** * The associated mining cost. */
|
|
75
|
+
mining_cost: number;
|
|
76
|
+
/** * The associated gas used. */
|
|
77
|
+
gas_used: number;
|
|
78
|
+
/** * The associated gas limit. */
|
|
79
|
+
gas_limit: number;
|
|
80
|
+
/** * The link to the related tx by block endpoint. */
|
|
81
|
+
transactions_link: string;
|
|
82
|
+
}
|
|
83
|
+
export interface GetLogsResponse {
|
|
84
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
85
|
+
updated_at: Date;
|
|
86
|
+
/** * The requested chain ID eg: `1`. */
|
|
87
|
+
chain_id: ChainID;
|
|
88
|
+
/** * The requested chain name eg: `eth-mainnet`. */
|
|
89
|
+
chain_name: ChainName;
|
|
90
|
+
/** * List of response items. */
|
|
91
|
+
items: GetLogsEvent[];
|
|
92
|
+
}
|
|
93
|
+
export interface GetLogsEvent {
|
|
94
|
+
/** * The block signed timestamp in UTC. */
|
|
95
|
+
block_signed_at: Date;
|
|
96
|
+
/** * The height of the block. */
|
|
97
|
+
block_height: number;
|
|
98
|
+
/** * The hash of the block. */
|
|
99
|
+
block_hash: string;
|
|
100
|
+
/** * The offset is the position of the tx in the block. */
|
|
101
|
+
tx_offset: number;
|
|
102
|
+
/** * The offset is the position of the log entry within an event log. */
|
|
103
|
+
log_offset: number;
|
|
104
|
+
/** * The requested transaction hash. */
|
|
105
|
+
tx_hash: string;
|
|
106
|
+
/** * The log topics in raw data. */
|
|
107
|
+
raw_log_topics: string[];
|
|
108
|
+
/** * Use contract decimals to format the token balance for display purposes - divide the balance by `10^{contract_decimals}`. */
|
|
109
|
+
sender_contract_decimals: number;
|
|
110
|
+
/** * The name of the sender. */
|
|
111
|
+
sender_name: string;
|
|
112
|
+
/** * The ticker symbol for the sender. This field is set by a developer and non-unique across a network. */
|
|
113
|
+
sender_contract_ticker_symbol: string;
|
|
114
|
+
/** * The address of the sender. */
|
|
115
|
+
sender_address: string;
|
|
116
|
+
/** * The label of the sender address. */
|
|
117
|
+
sender_address_label: string;
|
|
118
|
+
/** * A list of supported standard ERC interfaces, eg: `ERC20` and `ERC721`. */
|
|
119
|
+
supports_erc: string[];
|
|
120
|
+
/** * The contract logo URL. */
|
|
121
|
+
sender_logo_url: string;
|
|
122
|
+
/** * The address of the deployed UniswapV2 like factory contract for this DEX. */
|
|
123
|
+
sender_factory_address: string;
|
|
124
|
+
/** * The log events in raw. */
|
|
125
|
+
raw_log_data: string;
|
|
126
|
+
/** * The decoded item. */
|
|
127
|
+
decoded: DecodedItem;
|
|
128
|
+
}
|
|
129
|
+
export interface LogEventsByAddressResponse {
|
|
130
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
131
|
+
updated_at: Date;
|
|
132
|
+
/** * The requested chain ID eg: `1`. */
|
|
133
|
+
chain_id: ChainID;
|
|
134
|
+
/** * The requested chain name eg: `eth-mainnet`. */
|
|
135
|
+
chain_name: ChainName;
|
|
136
|
+
/** * List of response items. */
|
|
137
|
+
items: LogEvent[];
|
|
138
|
+
/** * Pagination metadata. */
|
|
139
|
+
pagination: Pagination;
|
|
140
|
+
}
|
|
141
|
+
export interface LogEventsByTopicHashResponse {
|
|
142
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
143
|
+
updated_at: Date;
|
|
144
|
+
/** * The requested chain ID eg: `1`. */
|
|
145
|
+
chain_id: ChainID;
|
|
146
|
+
/** * The requested chain name eg: `eth-mainnet`. */
|
|
147
|
+
chain_name: ChainName;
|
|
148
|
+
/** * List of response items. */
|
|
149
|
+
items: LogEvent[];
|
|
150
|
+
/** * Pagination metadata. */
|
|
151
|
+
pagination: Pagination;
|
|
152
|
+
}
|
|
153
|
+
export interface AllChainsResponse {
|
|
154
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
155
|
+
updated_at: Date;
|
|
156
|
+
/** * List of response items. */
|
|
157
|
+
items: ChainItem[];
|
|
158
|
+
}
|
|
159
|
+
export interface ChainItem {
|
|
160
|
+
/** * The chain name eg: `eth-mainnet`. */
|
|
161
|
+
name: string;
|
|
162
|
+
/** * The requested chain ID eg: `1`. */
|
|
163
|
+
chain_id: ChainID;
|
|
164
|
+
/** * True if the chain is a testnet. */
|
|
165
|
+
is_testnet: boolean;
|
|
166
|
+
/** * Schema name to use for direct SQL. */
|
|
167
|
+
db_schema_name: string;
|
|
168
|
+
/** * The chains label eg: `Ethereum Mainnet`. */
|
|
169
|
+
label: string;
|
|
170
|
+
/** * The category label eg: `Ethereum`. */
|
|
171
|
+
category_label: string;
|
|
172
|
+
/** * A svg logo url for the chain. */
|
|
173
|
+
logo_url: string;
|
|
174
|
+
/** * A black png logo url for the chain. */
|
|
175
|
+
black_logo_url: string;
|
|
176
|
+
/** * A white png logo url for the chain. */
|
|
177
|
+
white_logo_url: string;
|
|
178
|
+
/** * The color theme for the chain. */
|
|
179
|
+
color_theme: ColorTheme;
|
|
180
|
+
/** * True if the chain is an AppChain. */
|
|
181
|
+
is_appchain: boolean;
|
|
182
|
+
/** * The ChainItem the appchain is a part of. */
|
|
183
|
+
appchain_of: ChainItem;
|
|
184
|
+
}
|
|
185
|
+
export interface ColorTheme {
|
|
186
|
+
/** * The red color code. */
|
|
187
|
+
red: number;
|
|
188
|
+
/** * The green color code. */
|
|
189
|
+
green: number;
|
|
190
|
+
/** * The blue color code. */
|
|
191
|
+
blue: number;
|
|
192
|
+
/** * The alpha color code. */
|
|
193
|
+
alpha: number;
|
|
194
|
+
/** * The hexadecimal color code. */
|
|
195
|
+
hex: string;
|
|
196
|
+
/** * The color represented in css rgb() functional notation. */
|
|
197
|
+
css_rgb: string;
|
|
198
|
+
}
|
|
199
|
+
export interface AllChainsStatusResponse {
|
|
200
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
201
|
+
updated_at: Date;
|
|
202
|
+
/** * List of response items. */
|
|
203
|
+
items: ChainStatusItem[];
|
|
204
|
+
}
|
|
205
|
+
export interface ChainStatusItem {
|
|
206
|
+
/** * The chain name eg: `eth-mainnet`. */
|
|
207
|
+
name: string;
|
|
208
|
+
/** * The requested chain ID eg: `1`. */
|
|
209
|
+
chain_id: ChainID;
|
|
210
|
+
/** * True if the chain is a testnet. */
|
|
211
|
+
is_testnet: boolean;
|
|
212
|
+
/** * A svg logo url for the chain. */
|
|
213
|
+
logo_url: string;
|
|
214
|
+
/** * A black png logo url for the chain. */
|
|
215
|
+
black_logo_url: string;
|
|
216
|
+
/** * A white png logo url for the chain. */
|
|
217
|
+
white_logo_url: string;
|
|
218
|
+
/** * True if the chain is an AppChain. */
|
|
219
|
+
is_appchain: boolean;
|
|
220
|
+
/** * The height of the lastest block available. */
|
|
221
|
+
synced_block_height: number;
|
|
222
|
+
/** * The signed timestamp of lastest block available. */
|
|
223
|
+
synced_blocked_signed_at: Date;
|
|
224
|
+
/** * True if the chain has data and ready for querying. */
|
|
225
|
+
has_data: boolean;
|
|
226
|
+
}
|
|
227
|
+
export interface ChainActivityResponse {
|
|
228
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
229
|
+
updated_at: Date;
|
|
230
|
+
/** * The requested address. */
|
|
231
|
+
address: string;
|
|
232
|
+
/** * List of response items. */
|
|
233
|
+
items: ChainActivityEvent[];
|
|
234
|
+
}
|
|
235
|
+
export interface ChainActivityEvent extends ChainItem {
|
|
236
|
+
/** * The timestamp when the address was last seen on the chain. */
|
|
237
|
+
last_seen_at: Date;
|
|
238
|
+
}
|
|
239
|
+
export interface GasPricesResponse {
|
|
240
|
+
/** * The requested chain ID eg: `1`. */
|
|
241
|
+
chain_id: ChainID;
|
|
242
|
+
/** * The requested chain name eg: `eth-mainnet`. */
|
|
243
|
+
chain_name: ChainName;
|
|
244
|
+
/** * The requested quote currency eg: `USD`. */
|
|
245
|
+
quote_currency: string;
|
|
246
|
+
/** * The timestamp when the response was generated. Useful to show data staleness to users. */
|
|
247
|
+
updated_at: Date;
|
|
248
|
+
/** * The requested event type. */
|
|
249
|
+
event_type: string;
|
|
250
|
+
/** * The exchange rate for the requested quote currency. */
|
|
251
|
+
gas_quote_rate: number;
|
|
252
|
+
/** * The lowest gas fee for the latest block height. */
|
|
253
|
+
base_fee: bigint;
|
|
254
|
+
/** * List of response items. */
|
|
255
|
+
items: PriceItem[];
|
|
256
|
+
}
|
|
257
|
+
export interface PriceItem {
|
|
258
|
+
/** * The average gas price, in WEI, for the time interval. */
|
|
259
|
+
gas_price: string;
|
|
260
|
+
/** * The average gas spent for the time interval. */
|
|
261
|
+
gas_spent: string;
|
|
262
|
+
/** * The average gas spent in `quote-currency` denomination for the time interval. */
|
|
263
|
+
gas_quote: number;
|
|
264
|
+
/** * Other fees, when applicable. For example: OP chain L1 fees. */
|
|
265
|
+
other_fees: OtherFees;
|
|
266
|
+
/** * The sum of the L1 and L2 gas spent, in quote-currency, for the specified time interval. */
|
|
267
|
+
total_gas_quote: number;
|
|
268
|
+
/** * A prettier version of the total average gas spent, in quote-currency, for the specified time interval, for rendering purposes. */
|
|
269
|
+
pretty_total_gas_quote: string;
|
|
270
|
+
/** * The specified time interval. */
|
|
271
|
+
interval: string;
|
|
272
|
+
}
|
|
273
|
+
export interface OtherFees {
|
|
274
|
+
/** * The calculated L1 gas spent, when applicable, in quote-currency, for the specified time interval. */
|
|
275
|
+
l1_gas_quote: number;
|
|
276
|
+
}
|
|
277
|
+
export interface GetBlockHeightsQueryParamOpts {
|
|
278
|
+
/** * Number of items per page. Omitting this parameter defaults to 100. */
|
|
279
|
+
pageSize?: number;
|
|
280
|
+
/** * 0-indexed page number to begin pagination. */
|
|
281
|
+
pageNumber?: number;
|
|
282
|
+
}
|
|
283
|
+
export interface GetLogsQueryParamOpts {
|
|
284
|
+
/** * The first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`. */
|
|
285
|
+
startingBlock?: number;
|
|
286
|
+
/** * The last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`. */
|
|
287
|
+
endingBlock?: string;
|
|
288
|
+
/** * The address of the log events sender contract. */
|
|
289
|
+
address?: string;
|
|
290
|
+
/** * The topic hash(es) to retrieve logs with. */
|
|
291
|
+
topics?: string;
|
|
292
|
+
/** * The block hash to retrieve logs for. */
|
|
293
|
+
blockHash?: string;
|
|
294
|
+
/** * Omit decoded log events. */
|
|
295
|
+
skipDecode?: boolean;
|
|
296
|
+
}
|
|
297
|
+
export interface GetLogEventsByAddressQueryParamOpts {
|
|
298
|
+
/** * The first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`. */
|
|
299
|
+
startingBlock?: string | number;
|
|
300
|
+
/** * The last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`. */
|
|
301
|
+
endingBlock?: string | number;
|
|
302
|
+
/** * Number of items per page. Omitting this parameter defaults to 100. */
|
|
303
|
+
pageSize?: number;
|
|
304
|
+
/** * 0-indexed page number to begin pagination. */
|
|
305
|
+
pageNumber?: number;
|
|
306
|
+
}
|
|
307
|
+
export interface GetLogEventsByTopicHashQueryParamOpts {
|
|
308
|
+
/** * The first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`. */
|
|
309
|
+
startingBlock?: string | number;
|
|
310
|
+
/** * The last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings `earliest` and `latest`. */
|
|
311
|
+
endingBlock?: string | number;
|
|
312
|
+
/** * Additional topic hash(es) to filter on - padded & unpadded address fields are supported. Separate multiple topics with a comma. */
|
|
313
|
+
secondaryTopics?: string;
|
|
314
|
+
/** * Number of items per page. Omitting this parameter defaults to 100. */
|
|
315
|
+
pageSize?: number;
|
|
316
|
+
/** * 0-indexed page number to begin pagination. */
|
|
317
|
+
pageNumber?: number;
|
|
318
|
+
}
|
|
319
|
+
export interface GetAddressActivityQueryParamOpts {
|
|
320
|
+
/** * Set to true to include testnets with activity in the response. By default, it's set to `false` and only returns mainnet activity. */
|
|
321
|
+
testnets?: boolean;
|
|
322
|
+
}
|
|
323
|
+
export interface GetGasPricesQueryParamOpts {
|
|
324
|
+
/** * The currency to convert. Supports `USD`, `CAD`, `EUR`, `SGD`, `INR`, `JPY`, `VND`, `CNY`, `KRW`, `RUB`, `TRY`, `NGN`, `ARS`, `AUD`, `CHF`, and `GBP`. */
|
|
325
|
+
quoteCurrency?: Quote;
|
|
326
|
+
}
|