crypto-service 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crypto/version.rb +1 -1
- data/spec/fixtures/coinex/cx_balance_info.json +22 -0
- data/spec/fixtures/coinex/cx_error.json +6 -0
- data/spec/fixtures/coinex/cx_order_limit.json +7 -0
- data/spec/fixtures/coinex/cx_order_market.json +29 -0
- data/spec/fixtures/coinpaprika/coinpaprika_exchanges.json +2655 -0
- data/spec/fixtures/coinpaprika/coinpaprika_info.json +443 -0
- data/spec/fixtures/crypto_listing_info.json +4037 -0
- data/spec/fixtures/crypto_listing_info_fail.json +18 -0
- data/spec/fixtures/crypto_top_info.json +4245 -0
- data/spec/fixtures/gecko/gecko_coin_exchanges.json +4860 -0
- data/spec/fixtures/gecko/gecko_coin_info.json +64007 -0
- data/spec/fixtures/gecko/gecko_coin_info_fail.json +64002 -0
- data/spec/fixtures/test/crypto_buy.json +44 -0
- data/spec/fixtures/test/crypto_listing.json +33 -0
- metadata +31 -3
@@ -0,0 +1,443 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id":"test-test",
|
4
|
+
"name":"Test",
|
5
|
+
"symbol":"TEST",
|
6
|
+
"rank":1,
|
7
|
+
"is_new":false,
|
8
|
+
"is_active":true,
|
9
|
+
"type":"coin"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"id":"btc-bitcoin",
|
13
|
+
"name":"Bitcoin",
|
14
|
+
"symbol":"BTC",
|
15
|
+
"rank":1,
|
16
|
+
"is_new":false,
|
17
|
+
"is_active":true,
|
18
|
+
"type":"coin"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"id":"eth-ethereum",
|
22
|
+
"name":"Ethereum",
|
23
|
+
"symbol":"ETH",
|
24
|
+
"rank":2,
|
25
|
+
"is_new":false,
|
26
|
+
"is_active":true,
|
27
|
+
"type":"coin"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"id":"usdt-tether",
|
31
|
+
"name":"Tether",
|
32
|
+
"symbol":"USDT",
|
33
|
+
"rank":3,
|
34
|
+
"is_new":false,
|
35
|
+
"is_active":true,
|
36
|
+
"type":"token"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"id":"usdc-usd-coin",
|
40
|
+
"name":"USD Coin",
|
41
|
+
"symbol":"USDC",
|
42
|
+
"rank":4,
|
43
|
+
"is_new":false,
|
44
|
+
"is_active":true,
|
45
|
+
"type":"token"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"id":"bnb-binance-coin",
|
49
|
+
"name":"Binance Coin",
|
50
|
+
"symbol":"BNB",
|
51
|
+
"rank":5,
|
52
|
+
"is_new":false,
|
53
|
+
"is_active":true,
|
54
|
+
"type":"coin"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"id":"xrp-xrp",
|
58
|
+
"name":"XRP",
|
59
|
+
"symbol":"XRP",
|
60
|
+
"rank":6,
|
61
|
+
"is_new":false,
|
62
|
+
"is_active":true,
|
63
|
+
"type":"coin"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"id":"busd-binance-usd",
|
67
|
+
"name":"Binance USD",
|
68
|
+
"symbol":"BUSD",
|
69
|
+
"rank":7,
|
70
|
+
"is_new":false,
|
71
|
+
"is_active":true,
|
72
|
+
"type":"token"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"id":"ada-cardano",
|
76
|
+
"name":"Cardano",
|
77
|
+
"symbol":"ADA",
|
78
|
+
"rank":8,
|
79
|
+
"is_new":false,
|
80
|
+
"is_active":true,
|
81
|
+
"type":"coin"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"id":"doge-dogecoin",
|
85
|
+
"name":"Dogecoin",
|
86
|
+
"symbol":"DOGE",
|
87
|
+
"rank":9,
|
88
|
+
"is_new":false,
|
89
|
+
"is_active":true,
|
90
|
+
"type":"coin"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"id":"matic-polygon",
|
94
|
+
"name":"Polygon",
|
95
|
+
"symbol":"MATIC",
|
96
|
+
"rank":10,
|
97
|
+
"is_new":false,
|
98
|
+
"is_active":true,
|
99
|
+
"type":"token"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"id":"okb-okb",
|
103
|
+
"name":"OKB",
|
104
|
+
"symbol":"OKB",
|
105
|
+
"rank":11,
|
106
|
+
"is_new":false,
|
107
|
+
"is_active":true,
|
108
|
+
"type":"token"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"id":"hex-hex",
|
112
|
+
"name":"HEX",
|
113
|
+
"symbol":"HEX",
|
114
|
+
"rank":12,
|
115
|
+
"is_new":false,
|
116
|
+
"is_active":true,
|
117
|
+
"type":"token"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"id":"steth-lido-staked-ether",
|
121
|
+
"name":"Lido Staked Ether",
|
122
|
+
"symbol":"STETH",
|
123
|
+
"rank":13,
|
124
|
+
"is_new":false,
|
125
|
+
"is_active":true,
|
126
|
+
"type":"token"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"id":"dai-dai",
|
130
|
+
"name":"Dai",
|
131
|
+
"symbol":"DAI",
|
132
|
+
"rank":14,
|
133
|
+
"is_new":false,
|
134
|
+
"is_active":true,
|
135
|
+
"type":"token"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"id":"sol-solana",
|
139
|
+
"name":"Solana",
|
140
|
+
"symbol":"SOL",
|
141
|
+
"rank":15,
|
142
|
+
"is_new":false,
|
143
|
+
"is_active":true,
|
144
|
+
"type":"token"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"id":"ltc-litecoin",
|
148
|
+
"name":"Litecoin",
|
149
|
+
"symbol":"LTC",
|
150
|
+
"rank":16,
|
151
|
+
"is_new":false,
|
152
|
+
"is_active":true,
|
153
|
+
"type":"coin"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"id":"shib-shiba-inu",
|
157
|
+
"name":"Shiba Inu",
|
158
|
+
"symbol":"SHIB",
|
159
|
+
"rank":17,
|
160
|
+
"is_new":false,
|
161
|
+
"is_active":true,
|
162
|
+
"type":"token"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"id":"weth-weth",
|
166
|
+
"name":"WETH",
|
167
|
+
"symbol":"WETH",
|
168
|
+
"rank":18,
|
169
|
+
"is_new":false,
|
170
|
+
"is_active":true,
|
171
|
+
"type":"token"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"id":"trx-tron",
|
175
|
+
"name":"TRON",
|
176
|
+
"symbol":"TRX",
|
177
|
+
"rank":19,
|
178
|
+
"is_new":false,
|
179
|
+
"is_active":true,
|
180
|
+
"type":"coin"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"id":"dot-polkadot",
|
184
|
+
"name":"Polkadot",
|
185
|
+
"symbol":"DOT",
|
186
|
+
"rank":20,
|
187
|
+
"is_new":false,
|
188
|
+
"is_active":true,
|
189
|
+
"type":"coin"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"id":"avax-avalanche",
|
193
|
+
"name":"Avalanche",
|
194
|
+
"symbol":"AVAX",
|
195
|
+
"rank":21,
|
196
|
+
"is_new":false,
|
197
|
+
"is_active":true,
|
198
|
+
"type":"coin"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"id":"atom-cosmos",
|
202
|
+
"name":"Cosmos",
|
203
|
+
"symbol":"ATOM",
|
204
|
+
"rank":22,
|
205
|
+
"is_new":false,
|
206
|
+
"is_active":true,
|
207
|
+
"type":"coin"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"id":"wbtc-wrapped-bitcoin",
|
211
|
+
"name":"Wrapped Bitcoin",
|
212
|
+
"symbol":"WBTC",
|
213
|
+
"rank":23,
|
214
|
+
"is_new":false,
|
215
|
+
"is_active":true,
|
216
|
+
"type":"token"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"id":"leo-leo-token",
|
220
|
+
"name":"LEO Token",
|
221
|
+
"symbol":"LEO",
|
222
|
+
"rank":24,
|
223
|
+
"is_new":false,
|
224
|
+
"is_active":true,
|
225
|
+
"type":"token"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"id":"toncoin-the-open-network",
|
229
|
+
"name":"The Open Network",
|
230
|
+
"symbol":"TONCOIN",
|
231
|
+
"rank":25,
|
232
|
+
"is_new":false,
|
233
|
+
"is_active":true,
|
234
|
+
"type":"coin"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"id":"xmr-monero",
|
238
|
+
"name":"Monero",
|
239
|
+
"symbol":"XMR",
|
240
|
+
"rank":26,
|
241
|
+
"is_new":false,
|
242
|
+
"is_active":true,
|
243
|
+
"type":"coin"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"id":"link-chainlink",
|
247
|
+
"name":"Chainlink",
|
248
|
+
"symbol":"LINK",
|
249
|
+
"rank":27,
|
250
|
+
"is_new":false,
|
251
|
+
"is_active":true,
|
252
|
+
"type":"token"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"id":"etc-ethereum-classic",
|
256
|
+
"name":"Ethereum Classic",
|
257
|
+
"symbol":"ETC",
|
258
|
+
"rank":28,
|
259
|
+
"is_new":false,
|
260
|
+
"is_active":true,
|
261
|
+
"type":"coin"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"id":"uni-uniswap",
|
265
|
+
"name":"Uniswap",
|
266
|
+
"symbol":"UNI",
|
267
|
+
"rank":29,
|
268
|
+
"is_new":false,
|
269
|
+
"is_active":true,
|
270
|
+
"type":"token"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"id":"bch-bitcoin-cash",
|
274
|
+
"name":"Bitcoin Cash",
|
275
|
+
"symbol":"BCH",
|
276
|
+
"rank":30,
|
277
|
+
"is_new":false,
|
278
|
+
"is_active":true,
|
279
|
+
"type":"coin"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"id":"xlm-stellar",
|
283
|
+
"name":"Stellar",
|
284
|
+
"symbol":"XLM",
|
285
|
+
"rank":31,
|
286
|
+
"is_new":false,
|
287
|
+
"is_active":true,
|
288
|
+
"type":"coin"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"id":"ldo-lido-dao",
|
292
|
+
"name":"Lido DAO",
|
293
|
+
"symbol":"LDO",
|
294
|
+
"rank":32,
|
295
|
+
"is_new":false,
|
296
|
+
"is_active":true,
|
297
|
+
"type":"token"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"id":"near-near-protocol",
|
301
|
+
"name":"Near Protocol",
|
302
|
+
"symbol":"NEAR",
|
303
|
+
"rank":33,
|
304
|
+
"is_new":false,
|
305
|
+
"is_active":true,
|
306
|
+
"type":"coin"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"id":"algo-algorand",
|
310
|
+
"name":"Algorand",
|
311
|
+
"symbol":"ALGO",
|
312
|
+
"rank":34,
|
313
|
+
"is_new":false,
|
314
|
+
"is_active":true,
|
315
|
+
"type":"coin"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"id":"qnt-quant",
|
319
|
+
"name":"Quant",
|
320
|
+
"symbol":"QNT",
|
321
|
+
"rank":35,
|
322
|
+
"is_new":false,
|
323
|
+
"is_active":true,
|
324
|
+
"type":"token"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"id":"ape-apecoin",
|
328
|
+
"name":"ApeCoin",
|
329
|
+
"symbol":"APE",
|
330
|
+
"rank":36,
|
331
|
+
"is_new":false,
|
332
|
+
"is_active":true,
|
333
|
+
"type":"token"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"id":"btcb-binance-bitcoin",
|
337
|
+
"name":"Binance Bitcoin",
|
338
|
+
"symbol":"BTCB",
|
339
|
+
"rank":37,
|
340
|
+
"is_new":false,
|
341
|
+
"is_active":true,
|
342
|
+
"type":"token"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"id":"vet-vechain",
|
346
|
+
"name":"VeChain",
|
347
|
+
"symbol":"VET",
|
348
|
+
"rank":38,
|
349
|
+
"is_new":false,
|
350
|
+
"is_active":true,
|
351
|
+
"type":"coin"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"id":"fil-filecoin",
|
355
|
+
"name":"Filecoin",
|
356
|
+
"symbol":"FIL",
|
357
|
+
"rank":39,
|
358
|
+
"is_new":false,
|
359
|
+
"is_active":true,
|
360
|
+
"type":"coin"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"id":"icp-internet-computer",
|
364
|
+
"name":"Internet Computer",
|
365
|
+
"symbol":"ICP",
|
366
|
+
"rank":40,
|
367
|
+
"is_new":false,
|
368
|
+
"is_active":true,
|
369
|
+
"type":"coin"
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"id":"hbar-hedera-hashgraph",
|
373
|
+
"name":"Hedera Hashgraph",
|
374
|
+
"symbol":"HBAR",
|
375
|
+
"rank":41,
|
376
|
+
"is_new":false,
|
377
|
+
"is_active":true,
|
378
|
+
"type":"coin"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"id":"ht-huobi-token",
|
382
|
+
"name":"Huobi Token",
|
383
|
+
"symbol":"HT",
|
384
|
+
"rank":42,
|
385
|
+
"is_new":false,
|
386
|
+
"is_active":true,
|
387
|
+
"type":"token"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"id":"cro-cryptocom-chain",
|
391
|
+
"name":"Cronos",
|
392
|
+
"symbol":"CRO",
|
393
|
+
"rank":43,
|
394
|
+
"is_new":false,
|
395
|
+
"is_active":true,
|
396
|
+
"type":"token"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"id":"luna-terra",
|
400
|
+
"name":"Terra Classic",
|
401
|
+
"symbol":"LUNC",
|
402
|
+
"rank":44,
|
403
|
+
"is_new":false,
|
404
|
+
"is_active":true,
|
405
|
+
"type":"coin"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"id":"wbnb-wrapped-bnb",
|
409
|
+
"name":"Wrapped BNB",
|
410
|
+
"symbol":"WBNB",
|
411
|
+
"rank":45,
|
412
|
+
"is_new":false,
|
413
|
+
"is_active":true,
|
414
|
+
"type":"token"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"id":"frax-frax",
|
418
|
+
"name":"Frax",
|
419
|
+
"symbol":"FRAX",
|
420
|
+
"rank":46,
|
421
|
+
"is_new":false,
|
422
|
+
"is_active":true,
|
423
|
+
"type":"token"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"id":"eos-eos",
|
427
|
+
"name":"EOS",
|
428
|
+
"symbol":"EOS",
|
429
|
+
"rank":47,
|
430
|
+
"is_new":false,
|
431
|
+
"is_active":true,
|
432
|
+
"type":"coin"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"id":"bit-bitdao",
|
436
|
+
"name":"BitDAO",
|
437
|
+
"symbol":"BIT",
|
438
|
+
"rank":48,
|
439
|
+
"is_new":false,
|
440
|
+
"is_active":true,
|
441
|
+
"type":"token"
|
442
|
+
}
|
443
|
+
]
|