Module: Glassnode::RESTv1Blockchain
- Included in:
- RESTv1
- Defined in:
- lib/rest/v1/blockchain.rb
Instance Method Summary collapse
-
#blockchain_block_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_block_height(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_block_interval_mean(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_block_interval_median(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_block_size_mean(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_block_size_sum(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_created_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_created_value_mean(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_created_value_median(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_created_value_sum(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_loss_count(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”].
-
#blockchain_utxo_profit_count(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”].
-
#blockchain_utxo_profit_relative(params = {}) ⇒ Object
Tier: 2 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”].
-
#blockchain_utxo_spent_count(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_spent_value_mean(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_spent_value_median(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
-
#blockchain_utxo_spent_value_sum(params = {}) ⇒ Object
Tier: 1 Params a: asset symbol c: [“NATIVE”, “USD”] i: [“1h”, “24h”, “10m”, “1w”, “1month”].
Instance Method Details
#blockchain_block_count(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
126 127 128 |
# File 'lib/rest/v1/blockchain.rb', line 126 def blockchain_block_count(params={}) authenticated_get("metrics/blockchain/block_count", params: params) end |
#blockchain_block_height(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
117 118 119 |
# File 'lib/rest/v1/blockchain.rb', line 117 def blockchain_block_height(params={}) authenticated_get("metrics/blockchain/block_height", params: params) end |
#blockchain_block_interval_mean(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
135 136 137 |
# File 'lib/rest/v1/blockchain.rb', line 135 def blockchain_block_interval_mean(params={}) authenticated_get("metrics/blockchain/block_interval_mean", params: params) end |
#blockchain_block_interval_median(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
144 145 146 |
# File 'lib/rest/v1/blockchain.rb', line 144 def blockchain_block_interval_median(params={}) authenticated_get("metrics/blockchain/block_interval_median", params: params) end |
#blockchain_block_size_mean(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
153 154 155 |
# File 'lib/rest/v1/blockchain.rb', line 153 def blockchain_block_size_mean(params={}) authenticated_get("metrics/blockchain/block_size_mean", params: params) end |
#blockchain_block_size_sum(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
162 163 164 |
# File 'lib/rest/v1/blockchain.rb', line 162 def blockchain_block_size_sum(params={}) authenticated_get("metrics/blockchain/block_size_sum", params: params) end |
#blockchain_utxo_count(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
9 10 11 |
# File 'lib/rest/v1/blockchain.rb', line 9 def blockchain_utxo_count(params={}) authenticated_get("metrics/blockchain/utxo_count", params: params) end |
#blockchain_utxo_created_count(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
18 19 20 |
# File 'lib/rest/v1/blockchain.rb', line 18 def blockchain_utxo_created_count(params={}) authenticated_get("metrics/blockchain/utxo_created_count", params: params) end |
#blockchain_utxo_created_value_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/blockchain.rb', line 54 def blockchain_utxo_created_value_mean(params={}) authenticated_get("metrics/blockchain/utxo_created_value_mean", params: params) end |
#blockchain_utxo_created_value_median(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]
72 73 74 |
# File 'lib/rest/v1/blockchain.rb', line 72 def blockchain_utxo_created_value_median(params={}) authenticated_get("metrics/blockchain/utxo_created_value_median", params: params) end |
#blockchain_utxo_created_value_sum(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]
36 37 38 |
# File 'lib/rest/v1/blockchain.rb', line 36 def blockchain_utxo_created_value_sum(params={}) authenticated_get("metrics/blockchain/utxo_created_value_sum", params: params) end |
#blockchain_utxo_loss_count(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]
99 100 101 |
# File 'lib/rest/v1/blockchain.rb', line 99 def blockchain_utxo_loss_count(params={}) authenticated_get("metrics/blockchain/utxo_loss_count", params: params) end |
#blockchain_utxo_profit_count(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]
90 91 92 |
# File 'lib/rest/v1/blockchain.rb', line 90 def blockchain_utxo_profit_count(params={}) authenticated_get("metrics/blockchain/utxo_profit_count", params: params) end |
#blockchain_utxo_profit_relative(params = {}) ⇒ Object
Tier: 2 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h"]
108 109 110 |
# File 'lib/rest/v1/blockchain.rb', line 108 def blockchain_utxo_profit_relative(params={}) authenticated_get("metrics/blockchain/utxo_profit_relative", params: params) end |
#blockchain_utxo_spent_count(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE"]
i: ["1h", "24h", "10m", "1w", "1month"]
27 28 29 |
# File 'lib/rest/v1/blockchain.rb', line 27 def blockchain_utxo_spent_count(params={}) authenticated_get("metrics/blockchain/utxo_spent_count", params: params) end |
#blockchain_utxo_spent_value_mean(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]
63 64 65 |
# File 'lib/rest/v1/blockchain.rb', line 63 def blockchain_utxo_spent_value_mean(params={}) authenticated_get("metrics/blockchain/utxo_spent_value_mean", params: params) end |
#blockchain_utxo_spent_value_median(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]
81 82 83 |
# File 'lib/rest/v1/blockchain.rb', line 81 def blockchain_utxo_spent_value_median(params={}) authenticated_get("metrics/blockchain/utxo_spent_value_median", params: params) end |
#blockchain_utxo_spent_value_sum(params = {}) ⇒ Object
Tier: 1 Params
a: asset symbol
c: ["NATIVE", "USD"]
i: ["1h", "24h", "10m", "1w", "1month"]
45 46 47 |
# File 'lib/rest/v1/blockchain.rb', line 45 def blockchain_utxo_spent_value_sum(params={}) authenticated_get("metrics/blockchain/utxo_spent_value_sum", params: params) end |