glassnode 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module Glassnode
6
6
  # a: asset symbol
7
7
  # c: ["NATIVE"]
8
8
  # i: ["24h"]
9
- def segwit_adoption(params={})
9
+ def transactions_segwit_adoption(params={})
10
10
  authenticated_get("metrics/transactions/segwit_adoption", params: params).body
11
11
  end
12
12
 
@@ -15,7 +15,7 @@ module Glassnode
15
15
  # a: asset symbol
16
16
  # c: ["NATIVE"]
17
17
  # i: ["24h"]
18
- def taproot_adoption(params={})
18
+ def transactions_taproot_adoption(params={})
19
19
  authenticated_get("metrics/transactions/taproot_adoption", params: params).body
20
20
  end
21
21
 
@@ -24,7 +24,7 @@ module Glassnode
24
24
  # a: asset symbol
25
25
  # c: ["NATIVE"]
26
26
  # i: ["24h"]
27
- def spent_output_types_share(params={})
27
+ def transactions_spent_output_types_share(params={})
28
28
  authenticated_get("metrics/transactions/spent_output_types_share", params: params).body
29
29
  end
30
30
 
@@ -33,7 +33,7 @@ module Glassnode
33
33
  # a: asset symbol
34
34
  # c: ["NATIVE"]
35
35
  # i: ["1h", "24h", "10m", "1w", "1month"]
36
- def count(params={})
36
+ def transactions_count(params={})
37
37
  authenticated_get("metrics/transactions/count", params: params).body
38
38
  end
39
39
 
@@ -42,7 +42,7 @@ module Glassnode
42
42
  # a: asset symbol
43
43
  # c: ["NATIVE"]
44
44
  # i: ["1h", "24h", "10m", "1w", "1month"]
45
- def rate(params={})
45
+ def transactions_rate(params={})
46
46
  authenticated_get("metrics/transactions/rate", params: params).body
47
47
  end
48
48
 
@@ -51,7 +51,7 @@ module Glassnode
51
51
  # a: asset symbol
52
52
  # c: ["NATIVE"]
53
53
  # i: ["1h", "24h"]
54
- def contract_calls_external_count(params={})
54
+ def transactions_contract_calls_external_count(params={})
55
55
  authenticated_get("metrics/transactions/contract_calls_external_count", params: params).body
56
56
  end
57
57
 
@@ -60,7 +60,7 @@ module Glassnode
60
60
  # a: asset symbol
61
61
  # c: ["NATIVE"]
62
62
  # i: ["1h", "24h"]
63
- def contract_calls_internal_count(params={})
63
+ def transactions_contract_calls_internal_count(params={})
64
64
  authenticated_get("metrics/transactions/contract_calls_internal_count", params: params).body
65
65
  end
66
66
 
@@ -69,7 +69,7 @@ module Glassnode
69
69
  # a: asset symbol
70
70
  # c: ["NATIVE"]
71
71
  # i: ["1h", "24h", "10m", "1w", "1month"]
72
- def size_mean(params={})
72
+ def transactions_size_mean(params={})
73
73
  authenticated_get("metrics/transactions/size_mean", params: params).body
74
74
  end
75
75
 
@@ -78,7 +78,7 @@ module Glassnode
78
78
  # a: asset symbol
79
79
  # c: ["NATIVE"]
80
80
  # i: ["1h", "24h", "10m", "1w", "1month"]
81
- def size_sum(params={})
81
+ def transactions_size_sum(params={})
82
82
  authenticated_get("metrics/transactions/size_sum", params: params).body
83
83
  end
84
84
 
@@ -87,7 +87,7 @@ module Glassnode
87
87
  # a: asset symbol
88
88
  # c: ["USD"]
89
89
  # i: ["24h"]
90
- def transfers_volume_by_size_entity_adjusted_sum(params={})
90
+ def transactions_transfers_volume_by_size_entity_adjusted_sum(params={})
91
91
  authenticated_get("metrics/transactions/transfers_volume_by_size_entity_adjusted_sum", params: params).body
92
92
  end
93
93
 
@@ -96,7 +96,7 @@ module Glassnode
96
96
  # a: asset symbol
97
97
  # c: ["USD"]
98
98
  # i: ["24h"]
99
- def transfers_volume_by_size_entity_adjusted_relative(params={})
99
+ def transactions_transfers_volume_by_size_entity_adjusted_relative(params={})
100
100
  authenticated_get("metrics/transactions/transfers_volume_by_size_entity_adjusted_relative", params: params).body
101
101
  end
102
102
 
@@ -105,7 +105,7 @@ module Glassnode
105
105
  # a: asset symbol
106
106
  # c: ["NATIVE"]
107
107
  # i: ["10m", "1h", "24h"]
108
- def transfers_to_otc_desks_count(params={})
108
+ def transactions_transfers_to_otc_desks_count(params={})
109
109
  authenticated_get("metrics/transactions/transfers_to_otc_desks_count", params: params).body
110
110
  end
111
111
 
@@ -114,7 +114,7 @@ module Glassnode
114
114
  # a: asset symbol
115
115
  # c: ["NATIVE"]
116
116
  # i: ["10m", "1h", "24h"]
117
- def transfers_from_otc_desks_count(params={})
117
+ def transactions_transfers_from_otc_desks_count(params={})
118
118
  authenticated_get("metrics/transactions/transfers_from_otc_desks_count", params: params).body
119
119
  end
120
120
 
@@ -123,7 +123,7 @@ module Glassnode
123
123
  # a: asset symbol
124
124
  # c: ["NATIVE", "USD"]
125
125
  # i: ["10m", "1h", "24h"]
126
- def transfers_volume_to_otc_desks_sum(params={})
126
+ def transactions_transfers_volume_to_otc_desks_sum(params={})
127
127
  authenticated_get("metrics/transactions/transfers_volume_to_otc_desks_sum", params: params).body
128
128
  end
129
129
 
@@ -132,7 +132,7 @@ module Glassnode
132
132
  # a: asset symbol
133
133
  # c: ["NATIVE", "USD"]
134
134
  # i: ["10m", "1h", "24h"]
135
- def transfers_volume_from_otc_desks_sum(params={})
135
+ def transactions_transfers_volume_from_otc_desks_sum(params={})
136
136
  authenticated_get("metrics/transactions/transfers_volume_from_otc_desks_sum", params: params).body
137
137
  end
138
138
 
@@ -141,7 +141,7 @@ module Glassnode
141
141
  # a: asset symbol
142
142
  # c: ["NATIVE"]
143
143
  # i: ["1h", "24h", "10m", "1w", "1month"]
144
- def transfers_count(params={})
144
+ def transactions_transfers_count(params={})
145
145
  authenticated_get("metrics/transactions/transfers_count", params: params).body
146
146
  end
147
147
 
@@ -150,7 +150,7 @@ module Glassnode
150
150
  # a: asset symbol
151
151
  # c: ["NATIVE"]
152
152
  # i: ["1h", "24h", "10m", "1w", "1month"]
153
- def transfers_rate(params={})
153
+ def transactions_transfers_rate(params={})
154
154
  authenticated_get("metrics/transactions/transfers_rate", params: params).body
155
155
  end
156
156
 
@@ -159,7 +159,7 @@ module Glassnode
159
159
  # a: asset symbol
160
160
  # c: ["NATIVE", "USD"]
161
161
  # i: ["1h", "24h", "10m", "1w", "1month"]
162
- def transfers_volume_sum(params={})
162
+ def transactions_transfers_volume_sum(params={})
163
163
  authenticated_get("metrics/transactions/transfers_volume_sum", params: params).body
164
164
  end
165
165
 
@@ -168,7 +168,7 @@ module Glassnode
168
168
  # a: asset symbol
169
169
  # c: ["NATIVE", "USD"]
170
170
  # i: ["1h", "24h", "10m", "1w", "1month"]
171
- def transfers_volume_mean(params={})
171
+ def transactions_transfers_volume_mean(params={})
172
172
  authenticated_get("metrics/transactions/transfers_volume_mean", params: params).body
173
173
  end
174
174
 
@@ -177,7 +177,7 @@ module Glassnode
177
177
  # a: asset symbol
178
178
  # c: ["NATIVE", "USD"]
179
179
  # i: ["1h", "24h", "10m", "1w", "1month"]
180
- def transfers_volume_median(params={})
180
+ def transactions_transfers_volume_median(params={})
181
181
  authenticated_get("metrics/transactions/transfers_volume_median", params: params).body
182
182
  end
183
183
 
@@ -186,7 +186,7 @@ module Glassnode
186
186
  # a: asset symbol
187
187
  # c: ["NATIVE", "USD"]
188
188
  # i: ["1h", "24h", "10m"]
189
- def transfers_volume_adjusted_sum(params={})
189
+ def transactions_transfers_volume_adjusted_sum(params={})
190
190
  authenticated_get("metrics/transactions/transfers_volume_adjusted_sum", params: params).body
191
191
  end
192
192
 
@@ -195,7 +195,7 @@ module Glassnode
195
195
  # a: asset symbol
196
196
  # c: ["NATIVE", "USD"]
197
197
  # i: ["1h", "24h", "10m"]
198
- def transfers_volume_adjusted_mean(params={})
198
+ def transactions_transfers_volume_adjusted_mean(params={})
199
199
  authenticated_get("metrics/transactions/transfers_volume_adjusted_mean", params: params).body
200
200
  end
201
201
 
@@ -204,7 +204,7 @@ module Glassnode
204
204
  # a: asset symbol
205
205
  # c: ["NATIVE", "USD"]
206
206
  # i: ["1h", "24h", "10m"]
207
- def transfers_volume_adjusted_median(params={})
207
+ def transactions_transfers_volume_adjusted_median(params={})
208
208
  authenticated_get("metrics/transactions/transfers_volume_adjusted_median", params: params).body
209
209
  end
210
210
 
@@ -213,7 +213,7 @@ module Glassnode
213
213
  # a: asset symbol
214
214
  # c: ["NATIVE"]
215
215
  # i: ["1h", "24h"]
216
- def transfers_volume_profit_relative(params={})
216
+ def transactions_transfers_volume_profit_relative(params={})
217
217
  authenticated_get("metrics/transactions/transfers_volume_profit_relative", params: params).body
218
218
  end
219
219
 
@@ -222,7 +222,7 @@ module Glassnode
222
222
  # a: asset symbol
223
223
  # c: ["NATIVE", "USD"]
224
224
  # i: ["1h", "24h"]
225
- def transfers_volume_profit_sum(params={})
225
+ def transactions_transfers_volume_profit_sum(params={})
226
226
  authenticated_get("metrics/transactions/transfers_volume_profit_sum", params: params).body
227
227
  end
228
228
 
@@ -231,7 +231,7 @@ module Glassnode
231
231
  # a: asset symbol
232
232
  # c: ["NATIVE", "USD"]
233
233
  # i: ["1h", "24h"]
234
- def transfers_volume_loss_sum(params={})
234
+ def transactions_transfers_volume_loss_sum(params={})
235
235
  authenticated_get("metrics/transactions/transfers_volume_loss_sum", params: params).body
236
236
  end
237
237
 
@@ -240,7 +240,7 @@ module Glassnode
240
240
  # a: asset symbol
241
241
  # c: ["NATIVE"]
242
242
  # i: ["1h", "24h", "10m"]
243
- def entity_adjusted_count(params={})
243
+ def transactions_entity_adjusted_count(params={})
244
244
  authenticated_get("metrics/transactions/entity_adjusted_count", params: params).body
245
245
  end
246
246
 
@@ -249,7 +249,7 @@ module Glassnode
249
249
  # a: asset symbol
250
250
  # c: ["NATIVE", "USD"]
251
251
  # i: ["1h", "24h", "10m"]
252
- def transfers_volume_entity_adjusted_sum(params={})
252
+ def transactions_transfers_volume_entity_adjusted_sum(params={})
253
253
  authenticated_get("metrics/transactions/transfers_volume_entity_adjusted_sum", params: params).body
254
254
  end
255
255
 
@@ -258,7 +258,7 @@ module Glassnode
258
258
  # a: asset symbol
259
259
  # c: ["NATIVE", "USD"]
260
260
  # i: ["1h", "24h", "10m"]
261
- def transfers_volume_entity_adjusted_mean(params={})
261
+ def transactions_transfers_volume_entity_adjusted_mean(params={})
262
262
  authenticated_get("metrics/transactions/transfers_volume_entity_adjusted_mean", params: params).body
263
263
  end
264
264
 
@@ -267,7 +267,7 @@ module Glassnode
267
267
  # a: asset symbol
268
268
  # c: ["NATIVE", "USD"]
269
269
  # i: ["1h", "24h", "10m"]
270
- def transfers_volume_entity_adjusted_median(params={})
270
+ def transactions_transfers_volume_entity_adjusted_median(params={})
271
271
  authenticated_get("metrics/transactions/transfers_volume_entity_adjusted_median", params: params).body
272
272
  end
273
273
 
@@ -276,7 +276,7 @@ module Glassnode
276
276
  # a: asset symbol
277
277
  # c: ["NATIVE", "USD"]
278
278
  # i: ["1h", "24h", "10m"]
279
- def transfers_from_miners_count(params={})
279
+ def transactions_transfers_from_miners_count(params={})
280
280
  authenticated_get("metrics/transactions/transfers_from_miners_count", params: params).body
281
281
  end
282
282
 
@@ -285,7 +285,7 @@ module Glassnode
285
285
  # a: asset symbol
286
286
  # c: ["NATIVE", "USD"]
287
287
  # i: ["1h", "24h", "10m"]
288
- def transfers_to_miners_count(params={})
288
+ def transactions_transfers_to_miners_count(params={})
289
289
  authenticated_get("metrics/transactions/transfers_to_miners_count", params: params).body
290
290
  end
291
291
 
@@ -294,7 +294,7 @@ module Glassnode
294
294
  # a: asset symbol
295
295
  # c: ["NATIVE", "USD"]
296
296
  # i: ["1h", "24h", "10m"]
297
- def transfers_volume_from_miners_sum(params={})
297
+ def transactions_transfers_volume_from_miners_sum(params={})
298
298
  authenticated_get("metrics/transactions/transfers_volume_from_miners_sum", params: params).body
299
299
  end
300
300
 
@@ -303,7 +303,7 @@ module Glassnode
303
303
  # a: asset symbol
304
304
  # c: ["NATIVE", "USD"]
305
305
  # i: ["1h", "24h", "10m"]
306
- def transfers_volume_to_miners_sum(params={})
306
+ def transactions_transfers_volume_to_miners_sum(params={})
307
307
  authenticated_get("metrics/transactions/transfers_volume_to_miners_sum", params: params).body
308
308
  end
309
309
 
@@ -312,7 +312,7 @@ module Glassnode
312
312
  # a: asset symbol
313
313
  # c: ["NATIVE", "USD"]
314
314
  # i: ["1h", "24h", "10m"]
315
- def transfers_volume_miners_net(params={})
315
+ def transactions_transfers_volume_miners_net(params={})
316
316
  authenticated_get("metrics/transactions/transfers_volume_miners_net", params: params).body
317
317
  end
318
318
 
@@ -321,7 +321,7 @@ module Glassnode
321
321
  # a: asset symbol
322
322
  # c: ["NATIVE"]
323
323
  # i: ["1h", "24h", "10m"]
324
- def transfers_between_exchanges_count(params={})
324
+ def transactions_transfers_between_exchanges_count(params={})
325
325
  authenticated_get("metrics/transactions/transfers_between_exchanges_count", params: params).body
326
326
  end
327
327
 
@@ -330,7 +330,7 @@ module Glassnode
330
330
  # a: asset symbol
331
331
  # c: ["NATIVE", "USD"]
332
332
  # i: ["1h", "24h", "10m"]
333
- def transfers_volume_between_exchanges_sum(params={})
333
+ def transactions_transfers_volume_between_exchanges_sum(params={})
334
334
  authenticated_get("metrics/transactions/transfers_volume_between_exchanges_sum", params: params).body
335
335
  end
336
336
 
@@ -340,7 +340,7 @@ module Glassnode
340
340
  # e: exchange name
341
341
  # c: ["NATIVE"]
342
342
  # i: ["24h"]
343
- def transfers_whales_to_exchanges_count(params={})
343
+ def transactions_transfers_whales_to_exchanges_count(params={})
344
344
  authenticated_get("metrics/transactions/transfers_whales_to_exchanges_count", params: params).body
345
345
  end
346
346
 
@@ -350,7 +350,7 @@ module Glassnode
350
350
  # e: exchange name
351
351
  # c: ["NATIVE"]
352
352
  # i: ["24h"]
353
- def transfers_exchanges_to_whales_count(params={})
353
+ def transactions_transfers_exchanges_to_whales_count(params={})
354
354
  authenticated_get("metrics/transactions/transfers_exchanges_to_whales_count", params: params).body
355
355
  end
356
356
 
@@ -360,7 +360,7 @@ module Glassnode
360
360
  # e: exchange name
361
361
  # c: ["NATIVE", "USD"]
362
362
  # i: ["24h"]
363
- def transfers_volume_whales_to_exchanges_sum(params={})
363
+ def transactions_transfers_volume_whales_to_exchanges_sum(params={})
364
364
  authenticated_get("metrics/transactions/transfers_volume_whales_to_exchanges_sum", params: params).body
365
365
  end
366
366
 
@@ -370,7 +370,7 @@ module Glassnode
370
370
  # e: exchange name
371
371
  # c: ["NATIVE", "USD"]
372
372
  # i: ["24h"]
373
- def transfers_volume_exchanges_to_whales_sum(params={})
373
+ def transactions_transfers_volume_exchanges_to_whales_sum(params={})
374
374
  authenticated_get("metrics/transactions/transfers_volume_exchanges_to_whales_sum", params: params).body
375
375
  end
376
376
 
@@ -380,7 +380,7 @@ module Glassnode
380
380
  # e: exchange name
381
381
  # c: ["NATIVE", "USD"]
382
382
  # i: ["1h", "24h", "10m"]
383
- def transfers_volume_miners_to_exchanges(params={})
383
+ def transactions_transfers_volume_miners_to_exchanges(params={})
384
384
  authenticated_get("metrics/transactions/transfers_volume_miners_to_exchanges", params: params).body
385
385
  end
386
386
 
@@ -390,7 +390,7 @@ module Glassnode
390
390
  # e: exchange name
391
391
  # c: ["NATIVE", "USD"]
392
392
  # i: ["24h"]
393
- def transfers_volume_miners_to_exchanges_all(params={})
393
+ def transactions_transfers_volume_miners_to_exchanges_all(params={})
394
394
  authenticated_get("metrics/transactions/transfers_volume_miners_to_exchanges_all", params: params).body
395
395
  end
396
396
 
@@ -400,7 +400,7 @@ module Glassnode
400
400
  # e: exchange name
401
401
  # c: ["NATIVE", "USD"]
402
402
  # i: ["1h", "24h", "10m"]
403
- def transfers_volume_to_exchanges_mean(params={})
403
+ def transactions_transfers_volume_to_exchanges_mean(params={})
404
404
  authenticated_get("metrics/transactions/transfers_volume_to_exchanges_mean", params: params).body
405
405
  end
406
406
 
@@ -410,7 +410,7 @@ module Glassnode
410
410
  # e: exchange name
411
411
  # c: ["NATIVE", "USD"]
412
412
  # i: ["1h", "24h", "10m"]
413
- def transfers_volume_from_exchanges_mean(params={})
413
+ def transactions_transfers_volume_from_exchanges_mean(params={})
414
414
  authenticated_get("metrics/transactions/transfers_volume_from_exchanges_mean", params: params).body
415
415
  end
416
416
 
@@ -420,7 +420,7 @@ module Glassnode
420
420
  # e: exchange name
421
421
  # c: ["NATIVE", "USD"]
422
422
  # i: ["1h", "24h", "10m"]
423
- def transfers_volume_exchanges_net(params={})
423
+ def transactions_transfers_volume_exchanges_net(params={})
424
424
  authenticated_get("metrics/transactions/transfers_volume_exchanges_net", params: params).body
425
425
  end
426
426
 
@@ -430,7 +430,7 @@ module Glassnode
430
430
  # e: exchange name
431
431
  # c: ["COUNT"]
432
432
  # i: ["1h", "24h", "10m"]
433
- def transfers_to_exchanges_count(params={})
433
+ def transactions_transfers_to_exchanges_count(params={})
434
434
  authenticated_get("metrics/transactions/transfers_to_exchanges_count", params: params).body
435
435
  end
436
436
 
@@ -440,7 +440,7 @@ module Glassnode
440
440
  # e: exchange name
441
441
  # c: ["COUNT"]
442
442
  # i: ["1h", "24h", "10m"]
443
- def transfers_from_exchanges_count(params={})
443
+ def transactions_transfers_from_exchanges_count(params={})
444
444
  authenticated_get("metrics/transactions/transfers_from_exchanges_count", params: params).body
445
445
  end
446
446
 
@@ -450,7 +450,7 @@ module Glassnode
450
450
  # e: exchange name
451
451
  # c: ["NATIVE", "USD"]
452
452
  # i: ["1h", "24h", "10m"]
453
- def transfers_volume_to_exchanges_sum(params={})
453
+ def transactions_transfers_volume_to_exchanges_sum(params={})
454
454
  authenticated_get("metrics/transactions/transfers_volume_to_exchanges_sum", params: params).body
455
455
  end
456
456
 
@@ -460,7 +460,7 @@ module Glassnode
460
460
  # e: exchange name
461
461
  # c: ["NATIVE", "USD"]
462
462
  # i: ["1h", "24h", "10m"]
463
- def transfers_volume_from_exchanges_sum(params={})
463
+ def transactions_transfers_volume_from_exchanges_sum(params={})
464
464
  authenticated_get("metrics/transactions/transfers_volume_from_exchanges_sum", params: params).body
465
465
  end
466
466
 
@@ -470,7 +470,7 @@ module Glassnode
470
470
  # e: exchange name
471
471
  # c: ["NATIVE", "USD"]
472
472
  # i: ["1h", "24h", "10m"]
473
- def transfers_volume_within_exchanges_sum(params={})
473
+ def transactions_transfers_volume_within_exchanges_sum(params={})
474
474
  authenticated_get("metrics/transactions/transfers_volume_within_exchanges_sum", params: params).body
475
475
  end
476
476
 
@@ -479,7 +479,7 @@ module Glassnode
479
479
  # a: asset symbol
480
480
  # c: ["NATIVE"]
481
481
  # i: ["24h"]
482
- def tx_types_breakdown_count(params={})
482
+ def transactions_tx_types_breakdown_count(params={})
483
483
  authenticated_get("metrics/transactions/tx_types_breakdown_count", params: params).body
484
484
  end
485
485
 
@@ -488,7 +488,7 @@ module Glassnode
488
488
  # a: asset symbol
489
489
  # c: ["NATIVE"]
490
490
  # i: ["24h"]
491
- def tx_types_breakdown_relative(params={})
491
+ def transactions_tx_types_breakdown_relative(params={})
492
492
  authenticated_get("metrics/transactions/tx_types_breakdown_relative", params: params).body
493
493
  end
494
494
 
@@ -2,7 +2,7 @@ module Glassnode
2
2
  module RESTv2Endpoints
3
3
 
4
4
  #Tier: 3
5
- def get_endpoints
5
+ def endpoints
6
6
  authenticated_get("metrics/endpoints")
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glassnode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glassnode
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-18 00:00:00.000000000 Z
11
+ date: 2022-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday