glassnode 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module Glassnode
7
7
  # c: ["NATIVE"]
8
8
  # i: ["24h", "1h"]
9
9
  def protocols_uniswap_transaction_count(params={})
10
- authenticated_get("metrics/protocols/uniswap_transaction_count", params: params).body
10
+ authenticated_get("metrics/protocols/uniswap_transaction_count", params: params)
11
11
  end
12
12
 
13
13
  #Tier: 1
@@ -16,7 +16,7 @@ module Glassnode
16
16
  # c: ["NATIVE", "USD"]
17
17
  # i: ["24h"]
18
18
  def protocols_uniswap_liquidity_latest(params={})
19
- authenticated_get("metrics/protocols/uniswap_liquidity_latest", params: params).body
19
+ authenticated_get("metrics/protocols/uniswap_liquidity_latest", params: params)
20
20
  end
21
21
 
22
22
  #Tier: 1
@@ -25,7 +25,7 @@ module Glassnode
25
25
  # c: ["NATIVE", "USD"]
26
26
  # i: ["24h", "1h"]
27
27
  def protocols_uniswap_volume_sum(params={})
28
- authenticated_get("metrics/protocols/uniswap_volume_sum", params: params).body
28
+ authenticated_get("metrics/protocols/uniswap_volume_sum", params: params)
29
29
  end
30
30
 
31
31
  end
@@ -7,7 +7,7 @@ module Glassnode
7
7
  # c: ["NATIVE", "USD"]
8
8
  # i: ["24h"]
9
9
  def supply_liquid_illiquid_sum(params={})
10
- authenticated_get("metrics/supply/liquid_illiquid_sum", params: params).body
10
+ authenticated_get("metrics/supply/liquid_illiquid_sum", params: params)
11
11
  end
12
12
 
13
13
  #Tier: 3
@@ -16,7 +16,7 @@ module Glassnode
16
16
  # c: ["NATIVE", "USD"]
17
17
  # i: ["24h"]
18
18
  def supply_liquid_sum(params={})
19
- authenticated_get("metrics/supply/liquid_sum", params: params).body
19
+ authenticated_get("metrics/supply/liquid_sum", params: params)
20
20
  end
21
21
 
22
22
  #Tier: 3
@@ -25,7 +25,7 @@ module Glassnode
25
25
  # c: ["NATIVE", "USD"]
26
26
  # i: ["24h"]
27
27
  def supply_highly_liquid_sum(params={})
28
- authenticated_get("metrics/supply/highly_liquid_sum", params: params).body
28
+ authenticated_get("metrics/supply/highly_liquid_sum", params: params)
29
29
  end
30
30
 
31
31
  #Tier: 3
@@ -34,7 +34,7 @@ module Glassnode
34
34
  # c: ["NATIVE", "USD"]
35
35
  # i: ["24h"]
36
36
  def supply_illiquid_sum(params={})
37
- authenticated_get("metrics/supply/illiquid_sum", params: params).body
37
+ authenticated_get("metrics/supply/illiquid_sum", params: params)
38
38
  end
39
39
 
40
40
  #Tier: 3
@@ -43,7 +43,7 @@ module Glassnode
43
43
  # c: ["NATIVE"]
44
44
  # i: ["24h"]
45
45
  def supply_liquid_change(params={})
46
- authenticated_get("metrics/supply/liquid_change", params: params).body
46
+ authenticated_get("metrics/supply/liquid_change", params: params)
47
47
  end
48
48
 
49
49
  #Tier: 3
@@ -52,7 +52,7 @@ module Glassnode
52
52
  # c: ["NATIVE"]
53
53
  # i: ["24h"]
54
54
  def supply_illiquid_change(params={})
55
- authenticated_get("metrics/supply/illiquid_change", params: params).body
55
+ authenticated_get("metrics/supply/illiquid_change", params: params)
56
56
  end
57
57
 
58
58
  #Tier: 1
@@ -61,7 +61,7 @@ module Glassnode
61
61
  # c: ["USD", "NATIVE"]
62
62
  # i: ["1h", "24h", "10m", "1w", "1month"]
63
63
  def supply_current(params={})
64
- authenticated_get("metrics/supply/current", params: params).body
64
+ authenticated_get("metrics/supply/current", params: params)
65
65
  end
66
66
 
67
67
  #Tier: 2
@@ -70,7 +70,7 @@ module Glassnode
70
70
  # c: ["NATIVE", "USD"]
71
71
  # i: ["10m", "1h", "24h", "1w", "1month"]
72
72
  def supply_minted(params={})
73
- authenticated_get("metrics/supply/minted", params: params).body
73
+ authenticated_get("metrics/supply/minted", params: params)
74
74
  end
75
75
 
76
76
  #Tier: 2
@@ -79,7 +79,7 @@ module Glassnode
79
79
  # c: ["NATIVE", "USD"]
80
80
  # i: ["10m", "1h", "24h", "1w", "1month"]
81
81
  def supply_burned(params={})
82
- authenticated_get("metrics/supply/burned", params: params).body
82
+ authenticated_get("metrics/supply/burned", params: params)
83
83
  end
84
84
 
85
85
  #Tier: 2
@@ -88,7 +88,7 @@ module Glassnode
88
88
  # c: ["USD", "NATIVE"]
89
89
  # i: ["1h", "24h", "10m"]
90
90
  def supply_issued(params={})
91
- authenticated_get("metrics/supply/issued", params: params).body
91
+ authenticated_get("metrics/supply/issued", params: params)
92
92
  end
93
93
 
94
94
  #Tier: 2
@@ -97,7 +97,7 @@ module Glassnode
97
97
  # c: ["NATIVE"]
98
98
  # i: ["1h", "24h"]
99
99
  def supply_inflation_rate(params={})
100
- authenticated_get("metrics/supply/inflation_rate", params: params).body
100
+ authenticated_get("metrics/supply/inflation_rate", params: params)
101
101
  end
102
102
 
103
103
  #Tier: 3
@@ -106,7 +106,7 @@ module Glassnode
106
106
  # c: ["NATIVE", "USD"]
107
107
  # i: ["1h", "24h", "10m"]
108
108
  def supply_revived_more_1y_sum(params={})
109
- authenticated_get("metrics/supply/revived_more_1y_sum", params: params).body
109
+ authenticated_get("metrics/supply/revived_more_1y_sum", params: params)
110
110
  end
111
111
 
112
112
  #Tier: 3
@@ -115,7 +115,7 @@ module Glassnode
115
115
  # c: ["NATIVE", "USD"]
116
116
  # i: ["1h", "24h", "10m"]
117
117
  def supply_revived_more_2y_sum(params={})
118
- authenticated_get("metrics/supply/revived_more_2y_sum", params: params).body
118
+ authenticated_get("metrics/supply/revived_more_2y_sum", params: params)
119
119
  end
120
120
 
121
121
  #Tier: 3
@@ -124,7 +124,7 @@ module Glassnode
124
124
  # c: ["NATIVE", "USD"]
125
125
  # i: ["1h", "24h", "10m"]
126
126
  def supply_revived_more_3y_sum(params={})
127
- authenticated_get("metrics/supply/revived_more_3y_sum", params: params).body
127
+ authenticated_get("metrics/supply/revived_more_3y_sum", params: params)
128
128
  end
129
129
 
130
130
  #Tier: 3
@@ -133,7 +133,7 @@ module Glassnode
133
133
  # c: ["NATIVE", "USD"]
134
134
  # i: ["1h", "24h", "10m"]
135
135
  def supply_revived_more_5y_sum(params={})
136
- authenticated_get("metrics/supply/revived_more_5y_sum", params: params).body
136
+ authenticated_get("metrics/supply/revived_more_5y_sum", params: params)
137
137
  end
138
138
 
139
139
  #Tier: 2
@@ -142,7 +142,7 @@ module Glassnode
142
142
  # c: ["NATIVE", "USD"]
143
143
  # i: ["1h", "24h"]
144
144
  def supply_active_24h(params={})
145
- authenticated_get("metrics/supply/active_24h", params: params).body
145
+ authenticated_get("metrics/supply/active_24h", params: params)
146
146
  end
147
147
 
148
148
  #Tier: 2
@@ -151,7 +151,7 @@ module Glassnode
151
151
  # c: ["NATIVE", "USD"]
152
152
  # i: ["1h", "24h"]
153
153
  def supply_active_1d_1w(params={})
154
- authenticated_get("metrics/supply/active_1d_1w", params: params).body
154
+ authenticated_get("metrics/supply/active_1d_1w", params: params)
155
155
  end
156
156
 
157
157
  #Tier: 2
@@ -160,7 +160,7 @@ module Glassnode
160
160
  # c: ["NATIVE", "USD"]
161
161
  # i: ["1h", "24h"]
162
162
  def supply_active_1w_1m(params={})
163
- authenticated_get("metrics/supply/active_1w_1m", params: params).body
163
+ authenticated_get("metrics/supply/active_1w_1m", params: params)
164
164
  end
165
165
 
166
166
  #Tier: 2
@@ -169,7 +169,7 @@ module Glassnode
169
169
  # c: ["NATIVE", "USD"]
170
170
  # i: ["1h", "24h"]
171
171
  def supply_active_1m_3m(params={})
172
- authenticated_get("metrics/supply/active_1m_3m", params: params).body
172
+ authenticated_get("metrics/supply/active_1m_3m", params: params)
173
173
  end
174
174
 
175
175
  #Tier: 2
@@ -178,7 +178,7 @@ module Glassnode
178
178
  # c: ["NATIVE", "USD"]
179
179
  # i: ["1h", "24h"]
180
180
  def supply_active_3m_6m(params={})
181
- authenticated_get("metrics/supply/active_3m_6m", params: params).body
181
+ authenticated_get("metrics/supply/active_3m_6m", params: params)
182
182
  end
183
183
 
184
184
  #Tier: 2
@@ -187,7 +187,7 @@ module Glassnode
187
187
  # c: ["NATIVE", "USD"]
188
188
  # i: ["1h", "24h"]
189
189
  def supply_active_6m_12m(params={})
190
- authenticated_get("metrics/supply/active_6m_12m", params: params).body
190
+ authenticated_get("metrics/supply/active_6m_12m", params: params)
191
191
  end
192
192
 
193
193
  #Tier: 2
@@ -196,7 +196,7 @@ module Glassnode
196
196
  # c: ["NATIVE", "USD"]
197
197
  # i: ["1h", "24h"]
198
198
  def supply_active_1y_2y(params={})
199
- authenticated_get("metrics/supply/active_1y_2y", params: params).body
199
+ authenticated_get("metrics/supply/active_1y_2y", params: params)
200
200
  end
201
201
 
202
202
  #Tier: 2
@@ -205,7 +205,7 @@ module Glassnode
205
205
  # c: ["NATIVE", "USD"]
206
206
  # i: ["1h", "24h"]
207
207
  def supply_active_2y_3y(params={})
208
- authenticated_get("metrics/supply/active_2y_3y", params: params).body
208
+ authenticated_get("metrics/supply/active_2y_3y", params: params)
209
209
  end
210
210
 
211
211
  #Tier: 2
@@ -214,7 +214,7 @@ module Glassnode
214
214
  # c: ["NATIVE", "USD"]
215
215
  # i: ["1h", "24h"]
216
216
  def supply_active_3y_5y(params={})
217
- authenticated_get("metrics/supply/active_3y_5y", params: params).body
217
+ authenticated_get("metrics/supply/active_3y_5y", params: params)
218
218
  end
219
219
 
220
220
  #Tier: 2
@@ -223,7 +223,7 @@ module Glassnode
223
223
  # c: ["NATIVE", "USD"]
224
224
  # i: ["1h", "24h"]
225
225
  def supply_active_5y_7y(params={})
226
- authenticated_get("metrics/supply/active_5y_7y", params: params).body
226
+ authenticated_get("metrics/supply/active_5y_7y", params: params)
227
227
  end
228
228
 
229
229
  #Tier: 2
@@ -232,7 +232,7 @@ module Glassnode
232
232
  # c: ["NATIVE", "USD"]
233
233
  # i: ["1h", "24h"]
234
234
  def supply_active_7y_10y(params={})
235
- authenticated_get("metrics/supply/active_7y_10y", params: params).body
235
+ authenticated_get("metrics/supply/active_7y_10y", params: params)
236
236
  end
237
237
 
238
238
  #Tier: 2
@@ -241,7 +241,7 @@ module Glassnode
241
241
  # c: ["NATIVE", "USD"]
242
242
  # i: ["1h", "24h"]
243
243
  def supply_active_more_10y(params={})
244
- authenticated_get("metrics/supply/active_more_10y", params: params).body
244
+ authenticated_get("metrics/supply/active_more_10y", params: params)
245
245
  end
246
246
 
247
247
  #Tier: 2
@@ -250,7 +250,7 @@ module Glassnode
250
250
  # c: ["NATIVE"]
251
251
  # i: ["24h"]
252
252
  def supply_hodl_waves(params={})
253
- authenticated_get("metrics/supply/hodl_waves", params: params).body
253
+ authenticated_get("metrics/supply/hodl_waves", params: params)
254
254
  end
255
255
 
256
256
  #Tier: 1
@@ -259,7 +259,7 @@ module Glassnode
259
259
  # c: ["NATIVE"]
260
260
  # i: ["1h", "24h"]
261
261
  def supply_active_more_1y_percent(params={})
262
- authenticated_get("metrics/supply/active_more_1y_percent", params: params).body
262
+ authenticated_get("metrics/supply/active_more_1y_percent", params: params)
263
263
  end
264
264
 
265
265
  #Tier: 2
@@ -268,7 +268,7 @@ module Glassnode
268
268
  # c: ["NATIVE"]
269
269
  # i: ["1h", "24h"]
270
270
  def supply_active_more_2y_percent(params={})
271
- authenticated_get("metrics/supply/active_more_2y_percent", params: params).body
271
+ authenticated_get("metrics/supply/active_more_2y_percent", params: params)
272
272
  end
273
273
 
274
274
  #Tier: 2
@@ -277,7 +277,7 @@ module Glassnode
277
277
  # c: ["NATIVE"]
278
278
  # i: ["1h", "24h"]
279
279
  def supply_active_more_3y_percent(params={})
280
- authenticated_get("metrics/supply/active_more_3y_percent", params: params).body
280
+ authenticated_get("metrics/supply/active_more_3y_percent", params: params)
281
281
  end
282
282
 
283
283
  #Tier: 2
@@ -286,7 +286,7 @@ module Glassnode
286
286
  # c: ["NATIVE"]
287
287
  # i: ["1h", "24h"]
288
288
  def supply_active_more_5y_percent(params={})
289
- authenticated_get("metrics/supply/active_more_5y_percent", params: params).body
289
+ authenticated_get("metrics/supply/active_more_5y_percent", params: params)
290
290
  end
291
291
 
292
292
  #Tier: 2
@@ -295,7 +295,7 @@ module Glassnode
295
295
  # c: ["NATIVE"]
296
296
  # i: ["24h"]
297
297
  def supply_rcap_hodl_waves(params={})
298
- authenticated_get("metrics/supply/rcap_hodl_waves", params: params).body
298
+ authenticated_get("metrics/supply/rcap_hodl_waves", params: params)
299
299
  end
300
300
 
301
301
  #Tier: 3
@@ -304,7 +304,7 @@ module Glassnode
304
304
  # c: ["USD"]
305
305
  # i: ["1h", "24h"]
306
306
  def supply_sth_lth_realized_value_ratio(params={})
307
- authenticated_get("metrics/supply/sth_lth_realized_value_ratio", params: params).body
307
+ authenticated_get("metrics/supply/sth_lth_realized_value_ratio", params: params)
308
308
  end
309
309
 
310
310
  #Tier: 2
@@ -313,7 +313,7 @@ module Glassnode
313
313
  # c: ["NATIVE", "USD"]
314
314
  # i: ["1h", "24h"]
315
315
  def supply_current_adjusted(params={})
316
- authenticated_get("metrics/supply/current_adjusted", params: params).body
316
+ authenticated_get("metrics/supply/current_adjusted", params: params)
317
317
  end
318
318
 
319
319
  #Tier: 2
@@ -322,7 +322,7 @@ module Glassnode
322
322
  # c: ["USD"]
323
323
  # i: ["1h", "24h"]
324
324
  def supply_profit_sum(params={})
325
- authenticated_get("metrics/supply/profit_sum", params: params).body
325
+ authenticated_get("metrics/supply/profit_sum", params: params)
326
326
  end
327
327
 
328
328
  #Tier: 2
@@ -331,7 +331,7 @@ module Glassnode
331
331
  # c: ["USD"]
332
332
  # i: ["1h", "24h"]
333
333
  def supply_loss_sum(params={})
334
- authenticated_get("metrics/supply/loss_sum", params: params).body
334
+ authenticated_get("metrics/supply/loss_sum", params: params)
335
335
  end
336
336
 
337
337
  #Tier: 2
@@ -340,7 +340,7 @@ module Glassnode
340
340
  # c: ["NATIVE"]
341
341
  # i: ["1h", "24h"]
342
342
  def supply_profit_relative(params={})
343
- authenticated_get("metrics/supply/profit_relative", params: params).body
343
+ authenticated_get("metrics/supply/profit_relative", params: params)
344
344
  end
345
345
 
346
346
  #Tier: 3
@@ -349,7 +349,7 @@ module Glassnode
349
349
  # c: ["NATIVE", "USD"]
350
350
  # i: ["24h"]
351
351
  def supply_sth_sum(params={})
352
- authenticated_get("metrics/supply/sth_sum", params: params).body
352
+ authenticated_get("metrics/supply/sth_sum", params: params)
353
353
  end
354
354
 
355
355
  #Tier: 3
@@ -358,7 +358,7 @@ module Glassnode
358
358
  # c: ["NATIVE", "USD"]
359
359
  # i: ["24h"]
360
360
  def supply_lth_sum(params={})
361
- authenticated_get("metrics/supply/lth_sum", params: params).body
361
+ authenticated_get("metrics/supply/lth_sum", params: params)
362
362
  end
363
363
 
364
364
  #Tier: 3
@@ -367,7 +367,7 @@ module Glassnode
367
367
  # c: ["NATIVE", "USD"]
368
368
  # i: ["24h"]
369
369
  def supply_sth_loss_sum(params={})
370
- authenticated_get("metrics/supply/sth_loss_sum", params: params).body
370
+ authenticated_get("metrics/supply/sth_loss_sum", params: params)
371
371
  end
372
372
 
373
373
  #Tier: 3
@@ -376,7 +376,7 @@ module Glassnode
376
376
  # c: ["NATIVE", "USD"]
377
377
  # i: ["24h"]
378
378
  def supply_lth_loss_sum(params={})
379
- authenticated_get("metrics/supply/lth_loss_sum", params: params).body
379
+ authenticated_get("metrics/supply/lth_loss_sum", params: params)
380
380
  end
381
381
 
382
382
  #Tier: 3
@@ -385,7 +385,7 @@ module Glassnode
385
385
  # c: ["NATIVE", "USD"]
386
386
  # i: ["24h"]
387
387
  def supply_sth_profit_sum(params={})
388
- authenticated_get("metrics/supply/sth_profit_sum", params: params).body
388
+ authenticated_get("metrics/supply/sth_profit_sum", params: params)
389
389
  end
390
390
 
391
391
  #Tier: 3
@@ -394,7 +394,7 @@ module Glassnode
394
394
  # c: ["NATIVE", "USD"]
395
395
  # i: ["24h"]
396
396
  def supply_lth_profit_sum(params={})
397
- authenticated_get("metrics/supply/lth_profit_sum", params: params).body
397
+ authenticated_get("metrics/supply/lth_profit_sum", params: params)
398
398
  end
399
399
 
400
400
  #Tier: 3
@@ -403,7 +403,7 @@ module Glassnode
403
403
  # c: ["NATIVE"]
404
404
  # i: ["24h"]
405
405
  def supply_lth_sth_profit_loss_relative(params={})
406
- authenticated_get("metrics/supply/lth_sth_profit_loss_relative", params: params).body
406
+ authenticated_get("metrics/supply/lth_sth_profit_loss_relative", params: params)
407
407
  end
408
408
 
409
409
  #Tier: 3
@@ -412,7 +412,7 @@ module Glassnode
412
412
  # c: ["NATIVE"]
413
413
  # i: ["24h"]
414
414
  def supply_lth_net_change(params={})
415
- authenticated_get("metrics/supply/lth_net_change", params: params).body
415
+ authenticated_get("metrics/supply/lth_net_change", params: params)
416
416
  end
417
417
 
418
418
  #Tier: 3
@@ -421,7 +421,7 @@ module Glassnode
421
421
  # c: ["NATIVE"]
422
422
  # i: ["24h"]
423
423
  def supply_sth_profit_loss_ratio(params={})
424
- authenticated_get("metrics/supply/sth_profit_loss_ratio", params: params).body
424
+ authenticated_get("metrics/supply/sth_profit_loss_ratio", params: params)
425
425
  end
426
426
 
427
427
  #Tier: 2
@@ -430,7 +430,7 @@ module Glassnode
430
430
  # c: ["USD"]
431
431
  # i: ["24h"]
432
432
  def supply_supply_by_txout_type(params={})
433
- authenticated_get("metrics/supply/supply_by_txout_type", params: params).body
433
+ authenticated_get("metrics/supply/supply_by_txout_type", params: params)
434
434
  end
435
435
 
436
436
  end