glassnode 0.0.1 → 0.0.4

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.
@@ -6,8 +6,8 @@ module Glassnode
6
6
  # a: asset symbol
7
7
  # c: ["NATIVE"]
8
8
  # i: ["10m", "1h", "24h"]
9
- def txs_count_distribution(params={})
10
- authenticated_get("metrics/mempool/txs_count_distribution", params: params).body
9
+ def mempool_txs_count_distribution(params={})
10
+ authenticated_get("metrics/mempool/txs_count_distribution", params: params)
11
11
  end
12
12
 
13
13
  #Tier: 2
@@ -15,8 +15,8 @@ module Glassnode
15
15
  # a: asset symbol
16
16
  # c: ["NATIVE"]
17
17
  # i: ["10m", "1h", "24h"]
18
- def txs_count_sum(params={})
19
- authenticated_get("metrics/mempool/txs_count_sum", params: params).body
18
+ def mempool_txs_count_sum(params={})
19
+ authenticated_get("metrics/mempool/txs_count_sum", params: params)
20
20
  end
21
21
 
22
22
  #Tier: 2
@@ -24,8 +24,8 @@ module Glassnode
24
24
  # a: asset symbol
25
25
  # c: ["NATIVE"]
26
26
  # i: ["10m", "1h", "24h"]
27
- def txs_size_distribution(params={})
28
- authenticated_get("metrics/mempool/txs_size_distribution", params: params).body
27
+ def mempool_txs_size_distribution(params={})
28
+ authenticated_get("metrics/mempool/txs_size_distribution", params: params)
29
29
  end
30
30
 
31
31
  #Tier: 2
@@ -33,8 +33,8 @@ module Glassnode
33
33
  # a: asset symbol
34
34
  # c: ["NATIVE"]
35
35
  # i: ["10m", "1h", "24h"]
36
- def txs_size_sum(params={})
37
- authenticated_get("metrics/mempool/txs_size_sum", params: params).body
36
+ def mempool_txs_size_sum(params={})
37
+ authenticated_get("metrics/mempool/txs_size_sum", params: params)
38
38
  end
39
39
 
40
40
  #Tier: 2
@@ -42,8 +42,8 @@ module Glassnode
42
42
  # a: asset symbol
43
43
  # c: ["NATIVE", "USD"]
44
44
  # i: ["10m", "1h", "24h"]
45
- def fees_distribution(params={})
46
- authenticated_get("metrics/mempool/fees_distribution", params: params).body
45
+ def mempool_fees_distribution(params={})
46
+ authenticated_get("metrics/mempool/fees_distribution", params: params)
47
47
  end
48
48
 
49
49
  #Tier: 2
@@ -51,8 +51,8 @@ module Glassnode
51
51
  # a: asset symbol
52
52
  # c: ["NATIVE", "USD"]
53
53
  # i: ["10m", "1h", "24h"]
54
- def fees_sum(params={})
55
- authenticated_get("metrics/mempool/fees_sum", params: params).body
54
+ def mempool_fees_sum(params={})
55
+ authenticated_get("metrics/mempool/fees_sum", params: params)
56
56
  end
57
57
 
58
58
  #Tier: 2
@@ -60,8 +60,8 @@ module Glassnode
60
60
  # a: asset symbol
61
61
  # c: ["NATIVE", "USD"]
62
62
  # i: ["10m", "1h", "24h"]
63
- def txs_value_distribution(params={})
64
- authenticated_get("metrics/mempool/txs_value_distribution", params: params).body
63
+ def mempool_txs_value_distribution(params={})
64
+ authenticated_get("metrics/mempool/txs_value_distribution", 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"]
72
- def txs_value_sum(params={})
73
- authenticated_get("metrics/mempool/txs_value_sum", params: params).body
72
+ def mempool_txs_value_sum(params={})
73
+ authenticated_get("metrics/mempool/txs_value_sum", 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"]
81
- def fees_average_relative(params={})
82
- authenticated_get("metrics/mempool/fees_average_relative", params: params).body
81
+ def mempool_fees_average_relative(params={})
82
+ authenticated_get("metrics/mempool/fees_average_relative", 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: ["NATIVE", "USD"]
89
89
  # i: ["10m", "1h", "24h"]
90
- def fees_median_relative(params={})
91
- authenticated_get("metrics/mempool/fees_median_relative", params: params).body
90
+ def mempool_fees_median_relative(params={})
91
+ authenticated_get("metrics/mempool/fees_median_relative", params: params)
92
92
  end
93
93
 
94
94
  end
@@ -6,8 +6,8 @@ module Glassnode
6
6
  # a: asset symbol
7
7
  # c: ["NATIVE"]
8
8
  # i: ["1h", "24h", "10m", "1month", "1w"]
9
- def difficulty_mean(params={})
10
- authenticated_get("metrics/mining/difficulty_mean", params: params).body
9
+ def mining_difficulty_mean(params={})
10
+ authenticated_get("metrics/mining/difficulty_mean", params: params)
11
11
  end
12
12
 
13
13
  #Tier: 1
@@ -15,8 +15,8 @@ module Glassnode
15
15
  # a: asset symbol
16
16
  # c: ["NATIVE"]
17
17
  # i: ["1h", "24h", "10m", "1month", "1w"]
18
- def difficulty_latest(params={})
19
- authenticated_get("metrics/mining/difficulty_latest", params: params).body
18
+ def mining_difficulty_latest(params={})
19
+ authenticated_get("metrics/mining/difficulty_latest", params: params)
20
20
  end
21
21
 
22
22
  #Tier: 1
@@ -24,8 +24,8 @@ module Glassnode
24
24
  # a: asset symbol
25
25
  # c: ["NATIVE"]
26
26
  # i: ["1h", "24h", "10m", "1month", "1w"]
27
- def hash_rate_mean(params={})
28
- authenticated_get("metrics/mining/hash_rate_mean", params: params).body
27
+ def mining_hash_rate_mean(params={})
28
+ authenticated_get("metrics/mining/hash_rate_mean", params: params)
29
29
  end
30
30
 
31
31
  #Tier: 2
@@ -33,8 +33,8 @@ module Glassnode
33
33
  # a: asset symbol
34
34
  # c: ["NATIVE", "USD"]
35
35
  # i: ["1h", "24h"]
36
- def revenue_sum(params={})
37
- authenticated_get("metrics/mining/revenue_sum", params: params).body
36
+ def mining_revenue_sum(params={})
37
+ authenticated_get("metrics/mining/revenue_sum", params: params)
38
38
  end
39
39
 
40
40
  #Tier: 2
@@ -42,8 +42,8 @@ module Glassnode
42
42
  # a: asset symbol
43
43
  # c: ["NATIVE"]
44
44
  # i: ["1h", "24h", "10m"]
45
- def revenue_from_fees(params={})
46
- authenticated_get("metrics/mining/revenue_from_fees", params: params).body
45
+ def mining_revenue_from_fees(params={})
46
+ authenticated_get("metrics/mining/revenue_from_fees", params: params)
47
47
  end
48
48
 
49
49
  #Tier: 2
@@ -51,8 +51,8 @@ module Glassnode
51
51
  # a: asset symbol
52
52
  # c: ["NATIVE"]
53
53
  # i: ["1h", "24h", "10m"]
54
- def volume_mined_sum(params={})
55
- authenticated_get("metrics/mining/volume_mined_sum", params: params).body
54
+ def mining_volume_mined_sum(params={})
55
+ authenticated_get("metrics/mining/volume_mined_sum", params: params)
56
56
  end
57
57
 
58
58
  #Tier: 3
@@ -60,8 +60,8 @@ module Glassnode
60
60
  # a: asset symbol
61
61
  # c: ["NATIVE"]
62
62
  # i: ["1h", "24h", "10m"]
63
- def miners_outflow_multiple(params={})
64
- authenticated_get("metrics/mining/miners_outflow_multiple", params: params).body
63
+ def mining_miners_outflow_multiple(params={})
64
+ authenticated_get("metrics/mining/miners_outflow_multiple", 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: ["USD"]
71
71
  # i: ["1h", "24h"]
72
- def thermocap(params={})
73
- authenticated_get("metrics/mining/thermocap", params: params).body
72
+ def mining_thermocap(params={})
73
+ authenticated_get("metrics/mining/thermocap", 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"]
80
80
  # i: ["1h", "24h"]
81
- def marketcap_thermocap_ratio(params={})
82
- authenticated_get("metrics/mining/marketcap_thermocap_ratio", params: params).body
81
+ def mining_marketcap_thermocap_ratio(params={})
82
+ authenticated_get("metrics/mining/marketcap_thermocap_ratio", params: params)
83
83
  end
84
84
 
85
85
  #Tier: 3
@@ -87,8 +87,8 @@ module Glassnode
87
87
  # a: asset symbol
88
88
  # c: ["NATIVE", "USD"]
89
89
  # i: ["1month", "1w", "24h", "1h", "10m"]
90
- def miners_unspent_supply(params={})
91
- authenticated_get("metrics/mining/miners_unspent_supply", params: params).body
90
+ def mining_miners_unspent_supply(params={})
91
+ authenticated_get("metrics/mining/miners_unspent_supply", params: params)
92
92
  end
93
93
 
94
94
  end
@@ -6,8 +6,8 @@ module Glassnode
6
6
  # a: asset symbol
7
7
  # c: ["NATIVE"]
8
8
  # i: ["24h", "1h"]
9
- def uniswap_transaction_count(params={})
10
- authenticated_get("metrics/protocols/uniswap_transaction_count", params: params).body
9
+ def protocols_uniswap_transaction_count(params={})
10
+ authenticated_get("metrics/protocols/uniswap_transaction_count", params: params)
11
11
  end
12
12
 
13
13
  #Tier: 1
@@ -15,8 +15,8 @@ module Glassnode
15
15
  # a: asset symbol
16
16
  # c: ["NATIVE", "USD"]
17
17
  # i: ["24h"]
18
- def uniswap_liquidity_latest(params={})
19
- authenticated_get("metrics/protocols/uniswap_liquidity_latest", params: params).body
18
+ def protocols_uniswap_liquidity_latest(params={})
19
+ authenticated_get("metrics/protocols/uniswap_liquidity_latest", params: params)
20
20
  end
21
21
 
22
22
  #Tier: 1
@@ -24,8 +24,8 @@ module Glassnode
24
24
  # a: asset symbol
25
25
  # c: ["NATIVE", "USD"]
26
26
  # i: ["24h", "1h"]
27
- def uniswap_volume_sum(params={})
28
- authenticated_get("metrics/protocols/uniswap_volume_sum", params: params).body
27
+ def protocols_uniswap_volume_sum(params={})
28
+ authenticated_get("metrics/protocols/uniswap_volume_sum", params: params)
29
29
  end
30
30
 
31
31
  end