Module: Glassnode::RESTv1Fees

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

Instance Method Summary collapse

Instance Method Details

#fees_exchanges_mean(params = {}) ⇒ Object

Tier: 3 Params

a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h"]


126
127
128
# File 'lib/rest/v1/fees.rb', line 126

def fees_exchanges_mean(params={})
  authenticated_get("metrics/fees/exchanges_mean", params: params)
end

#fees_exchanges_relative(params = {}) ⇒ Object

Tier: 3 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]


108
109
110
# File 'lib/rest/v1/fees.rb', line 108

def fees_exchanges_relative(params={})
  authenticated_get("metrics/fees/exchanges_relative", params: params)
end

#fees_exchanges_sum(params = {}) ⇒ Object

Tier: 3 Params

a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h"]


117
118
119
# File 'lib/rest/v1/fees.rb', line 117

def fees_exchanges_sum(params={})
  authenticated_get("metrics/fees/exchanges_sum", params: params)
end

#fees_fee_ratio_multiple(params = {}) ⇒ Object

Tier: 2 Params

a: asset symbol
c: ["NATIVE"]
i: ["10m", "1h", "24h"]


99
100
101
# File 'lib/rest/v1/fees.rb', line 99

def fees_fee_ratio_multiple(params={})
  authenticated_get("metrics/fees/fee_ratio_multiple", params: params)
end

#fees_gas_limit_tx_mean(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


36
37
38
# File 'lib/rest/v1/fees.rb', line 36

def fees_gas_limit_tx_mean(params={})
  authenticated_get("metrics/fees/gas_limit_tx_mean", params: params)
end

#fees_gas_limit_tx_median(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


45
46
47
# File 'lib/rest/v1/fees.rb', line 45

def fees_gas_limit_tx_median(params={})
  authenticated_get("metrics/fees/gas_limit_tx_median", params: params)
end

#fees_gas_price_mean(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]


54
55
56
# File 'lib/rest/v1/fees.rb', line 54

def fees_gas_price_mean(params={})
  authenticated_get("metrics/fees/gas_price_mean", params: params)
end

#fees_gas_price_median(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]


63
64
65
# File 'lib/rest/v1/fees.rb', line 63

def fees_gas_price_median(params={})
  authenticated_get("metrics/fees/gas_price_median", params: params)
end

#fees_gas_used_mean(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


18
19
20
# File 'lib/rest/v1/fees.rb', line 18

def fees_gas_used_mean(params={})
  authenticated_get("metrics/fees/gas_used_mean", params: params)
end

#fees_gas_used_median(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


27
28
29
# File 'lib/rest/v1/fees.rb', line 27

def fees_gas_used_median(params={})
  authenticated_get("metrics/fees/gas_used_median", params: params)
end

#fees_gas_used_sum(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]


9
10
11
# File 'lib/rest/v1/fees.rb', line 9

def fees_gas_used_sum(params={})
  authenticated_get("metrics/fees/gas_used_sum", params: params)
end

#fees_tx_types_breakdown_relative(params = {}) ⇒ Object

Tier: 3 Params

a: asset symbol
c: ["NATIVE"]
i: ["24h"]


144
145
146
# File 'lib/rest/v1/fees.rb', line 144

def fees_tx_types_breakdown_relative(params={})
  authenticated_get("metrics/fees/tx_types_breakdown_relative", params: params)
end

#fees_tx_types_breakdown_sum(params = {}) ⇒ Object

Tier: 3 Params

a: asset symbol
c: ["NATIVE"]
i: ["24h"]


135
136
137
# File 'lib/rest/v1/fees.rb', line 135

def fees_tx_types_breakdown_sum(params={})
  authenticated_get("metrics/fees/tx_types_breakdown_sum", params: params)
end

#fees_volume_mean(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]


81
82
83
# File 'lib/rest/v1/fees.rb', line 81

def fees_volume_mean(params={})
  authenticated_get("metrics/fees/volume_mean", params: params)
end

#fees_volume_median(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]


90
91
92
# File 'lib/rest/v1/fees.rb', line 90

def fees_volume_median(params={})
  authenticated_get("metrics/fees/volume_median", params: params)
end

#fees_volume_sum(params = {}) ⇒ Object

Tier: 1 Params

a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]


72
73
74
# File 'lib/rest/v1/fees.rb', line 72

def fees_volume_sum(params={})
  authenticated_get("metrics/fees/volume_sum", params: params)
end