glassnode 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rest/v1/eth2.rb CHANGED
@@ -6,7 +6,7 @@ module Glassnode
6
6
  # a: asset symbol
7
7
  # c: ["NATIVE"]
8
8
  # i: ["1h", "24h"]
9
- def staking_deposits_count(params={})
9
+ def eth2_staking_deposits_count(params={})
10
10
  authenticated_get("metrics/eth2/staking_deposits_count", 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: ["1h", "24h"]
18
- def staking_validators_count(params={})
18
+ def eth2_staking_validators_count(params={})
19
19
  authenticated_get("metrics/eth2/staking_validators_count", 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: ["1h", "24h"]
27
- def staking_total_deposits_count(params={})
27
+ def eth2_staking_total_deposits_count(params={})
28
28
  authenticated_get("metrics/eth2/staking_total_deposits_count", 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"]
36
- def staking_total_validators_count(params={})
36
+ def eth2_staking_total_validators_count(params={})
37
37
  authenticated_get("metrics/eth2/staking_total_validators_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"]
45
- def staking_phase_0_goal_percent(params={})
45
+ def eth2_staking_phase_0_goal_percent(params={})
46
46
  authenticated_get("metrics/eth2/staking_phase_0_goal_percent", params: params).body
47
47
  end
48
48
 
@@ -51,7 +51,7 @@ module Glassnode
51
51
  # a: asset symbol
52
52
  # c: ["NATIVE", "USD"]
53
53
  # i: ["1h", "24h"]
54
- def staking_volume_sum(params={})
54
+ def eth2_staking_volume_sum(params={})
55
55
  authenticated_get("metrics/eth2/staking_volume_sum", params: params).body
56
56
  end
57
57
 
@@ -60,7 +60,7 @@ module Glassnode
60
60
  # a: asset symbol
61
61
  # c: ["NATIVE", "USD"]
62
62
  # i: ["1h", "24h"]
63
- def staking_total_volume_sum(params={})
63
+ def eth2_staking_total_volume_sum(params={})
64
64
  authenticated_get("metrics/eth2/staking_total_volume_sum", params: params).body
65
65
  end
66
66
 
@@ -69,7 +69,7 @@ module Glassnode
69
69
  # a: asset symbol
70
70
  # c: ["NATIVE", "USD"]
71
71
  # i: ["24h"]
72
- def deposited_by_provider_volume_sum(params={})
72
+ def eth2_deposited_by_provider_volume_sum(params={})
73
73
  authenticated_get("metrics/eth2/deposited_by_provider_volume_sum", params: params).body
74
74
  end
75
75
 
data/lib/rest/v1/fees.rb CHANGED
@@ -6,7 +6,7 @@ module Glassnode
6
6
  # a: asset symbol
7
7
  # c: ["NATIVE"]
8
8
  # i: ["1h", "24h", "10m", "1w", "1month"]
9
- def gas_used_sum(params={})
9
+ def fees_gas_used_sum(params={})
10
10
  authenticated_get("metrics/fees/gas_used_sum", 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: ["1h", "24h", "10m", "1w", "1month"]
18
- def gas_used_mean(params={})
18
+ def fees_gas_used_mean(params={})
19
19
  authenticated_get("metrics/fees/gas_used_mean", 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: ["1h", "24h", "10m", "1w", "1month"]
27
- def gas_used_median(params={})
27
+ def fees_gas_used_median(params={})
28
28
  authenticated_get("metrics/fees/gas_used_median", 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 gas_limit_tx_mean(params={})
36
+ def fees_gas_limit_tx_mean(params={})
37
37
  authenticated_get("metrics/fees/gas_limit_tx_mean", 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 gas_limit_tx_median(params={})
45
+ def fees_gas_limit_tx_median(params={})
46
46
  authenticated_get("metrics/fees/gas_limit_tx_median", params: params).body
47
47
  end
48
48
 
@@ -51,7 +51,7 @@ module Glassnode
51
51
  # a: asset symbol
52
52
  # c: ["NATIVE", "USD"]
53
53
  # i: ["1h", "24h", "10m", "1w", "1month"]
54
- def gas_price_mean(params={})
54
+ def fees_gas_price_mean(params={})
55
55
  authenticated_get("metrics/fees/gas_price_mean", params: params).body
56
56
  end
57
57
 
@@ -60,7 +60,7 @@ module Glassnode
60
60
  # a: asset symbol
61
61
  # c: ["NATIVE", "USD"]
62
62
  # i: ["1h", "24h", "10m", "1w", "1month"]
63
- def gas_price_median(params={})
63
+ def fees_gas_price_median(params={})
64
64
  authenticated_get("metrics/fees/gas_price_median", params: params).body
65
65
  end
66
66
 
@@ -69,7 +69,7 @@ module Glassnode
69
69
  # a: asset symbol
70
70
  # c: ["NATIVE", "USD"]
71
71
  # i: ["1h", "24h", "10m", "1w", "1month"]
72
- def volume_sum(params={})
72
+ def fees_volume_sum(params={})
73
73
  authenticated_get("metrics/fees/volume_sum", params: params).body
74
74
  end
75
75
 
@@ -78,7 +78,7 @@ module Glassnode
78
78
  # a: asset symbol
79
79
  # c: ["NATIVE", "USD"]
80
80
  # i: ["1h", "24h", "10m", "1w", "1month"]
81
- def volume_mean(params={})
81
+ def fees_volume_mean(params={})
82
82
  authenticated_get("metrics/fees/volume_mean", params: params).body
83
83
  end
84
84
 
@@ -87,7 +87,7 @@ module Glassnode
87
87
  # a: asset symbol
88
88
  # c: ["NATIVE", "USD"]
89
89
  # i: ["1h", "24h", "10m", "1w", "1month"]
90
- def volume_median(params={})
90
+ def fees_volume_median(params={})
91
91
  authenticated_get("metrics/fees/volume_median", params: params).body
92
92
  end
93
93
 
@@ -96,7 +96,7 @@ module Glassnode
96
96
  # a: asset symbol
97
97
  # c: ["NATIVE"]
98
98
  # i: ["10m", "1h", "24h"]
99
- def fee_ratio_multiple(params={})
99
+ def fees_fee_ratio_multiple(params={})
100
100
  authenticated_get("metrics/fees/fee_ratio_multiple", 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: ["1h", "24h"]
108
- def exchanges_relative(params={})
108
+ def fees_exchanges_relative(params={})
109
109
  authenticated_get("metrics/fees/exchanges_relative", params: params).body
110
110
  end
111
111
 
@@ -114,7 +114,7 @@ module Glassnode
114
114
  # a: asset symbol
115
115
  # c: ["NATIVE", "USD"]
116
116
  # i: ["1h", "24h"]
117
- def exchanges_sum(params={})
117
+ def fees_exchanges_sum(params={})
118
118
  authenticated_get("metrics/fees/exchanges_sum", 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: ["1h", "24h"]
126
- def exchanges_mean(params={})
126
+ def fees_exchanges_mean(params={})
127
127
  authenticated_get("metrics/fees/exchanges_mean", params: params).body
128
128
  end
129
129
 
@@ -132,7 +132,7 @@ module Glassnode
132
132
  # a: asset symbol
133
133
  # c: ["NATIVE"]
134
134
  # i: ["24h"]
135
- def tx_types_breakdown_sum(params={})
135
+ def fees_tx_types_breakdown_sum(params={})
136
136
  authenticated_get("metrics/fees/tx_types_breakdown_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: ["24h"]
144
- def tx_types_breakdown_relative(params={})
144
+ def fees_tx_types_breakdown_relative(params={})
145
145
  authenticated_get("metrics/fees/tx_types_breakdown_relative", params: params).body
146
146
  end
147
147