glassnode 0.0.1 → 0.0.4

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