Module: Glassnode::RESTv1Eth2
- Included in:
- RESTv1
- Defined in:
- lib/rest/v1/eth2.rb
Instance Method Summary collapse
-
#deposited_by_provider_volume_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: ["NATIVE", "USD"] i: ["24h"].
-
#staking_deposits_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"].
-
#staking_phase_0_goal_percent(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"].
-
#staking_total_deposits_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"].
-
#staking_total_validators_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"].
-
#staking_total_volume_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: ["NATIVE", "USD"] i: ["1h", "24h"].
-
#staking_validators_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"].
-
#staking_volume_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: ["NATIVE", "USD"] i: ["1h", "24h"].
Instance Method Details
#deposited_by_provider_volume_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: ["NATIVE", "USD"] i: ["24h"]
72 73 74 |
# File 'lib/rest/v1/eth2.rb', line 72 def deposited_by_provider_volume_sum(params={}) authenticated_get("metrics/eth2/deposited_by_provider_volume_sum", params: params).body end |
#staking_deposits_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"]
9 10 11 |
# File 'lib/rest/v1/eth2.rb', line 9 def staking_deposits_count(params={}) authenticated_get("metrics/eth2/staking_deposits_count", params: params).body end |
#staking_phase_0_goal_percent(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"]
45 46 47 |
# File 'lib/rest/v1/eth2.rb', line 45 def staking_phase_0_goal_percent(params={}) authenticated_get("metrics/eth2/staking_phase_0_goal_percent", params: params).body end |
#staking_total_deposits_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"]
27 28 29 |
# File 'lib/rest/v1/eth2.rb', line 27 def staking_total_deposits_count(params={}) authenticated_get("metrics/eth2/staking_total_deposits_count", params: params).body end |
#staking_total_validators_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"]
36 37 38 |
# File 'lib/rest/v1/eth2.rb', line 36 def staking_total_validators_count(params={}) authenticated_get("metrics/eth2/staking_total_validators_count", params: params).body end |
#staking_total_volume_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: ["NATIVE", "USD"] i: ["1h", "24h"]
63 64 65 |
# File 'lib/rest/v1/eth2.rb', line 63 def staking_total_volume_sum(params={}) authenticated_get("metrics/eth2/staking_total_volume_sum", params: params).body end |
#staking_validators_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: ["NATIVE"] i: ["1h", "24h"]
18 19 20 |
# File 'lib/rest/v1/eth2.rb', line 18 def staking_validators_count(params={}) authenticated_get("metrics/eth2/staking_validators_count", params: params).body end |
#staking_volume_sum(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: ["NATIVE", "USD"] i: ["1h", "24h"]
54 55 56 |
# File 'lib/rest/v1/eth2.rb', line 54 def staking_volume_sum(params={}) authenticated_get("metrics/eth2/staking_volume_sum", params: params).body end |