Module: Glassnode::RESTv1Eth2

Included in:
RESTv1
Defined in:
lib/rest/v1/eth2.rb

Instance Method Summary collapse

Instance Method Details

#eth2_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 eth2_deposited_by_provider_volume_sum(params={})
  authenticated_get("metrics/eth2/deposited_by_provider_volume_sum", params: params)
end

#eth2_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 eth2_staking_deposits_count(params={})
  authenticated_get("metrics/eth2/staking_deposits_count", params: params)
end

#eth2_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 eth2_staking_phase_0_goal_percent(params={})
  authenticated_get("metrics/eth2/staking_phase_0_goal_percent", params: params)
end

#eth2_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 eth2_staking_total_deposits_count(params={})
  authenticated_get("metrics/eth2/staking_total_deposits_count", params: params)
end

#eth2_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 eth2_staking_total_validators_count(params={})
  authenticated_get("metrics/eth2/staking_total_validators_count", params: params)
end

#eth2_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 eth2_staking_total_volume_sum(params={})
  authenticated_get("metrics/eth2/staking_total_volume_sum", params: params)
end

#eth2_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 eth2_staking_validators_count(params={})
  authenticated_get("metrics/eth2/staking_validators_count", params: params)
end

#eth2_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 eth2_staking_volume_sum(params={})
  authenticated_get("metrics/eth2/staking_volume_sum", params: params)
end