You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,13 +104,32 @@ gn asset describe BTC
104
104
105
105
### `gn metric list`
106
106
107
-
List all available metrics, optionally filtered by asset.
107
+
List all available metrics, optionally filtered by [metadata query parameters](https://docs.glassnode.com/basic-api/metadata#query-parameters-1).
108
108
109
109
```bash
110
110
gn metric list
111
111
gn metric list --asset BTC
112
+
gn metric list -a BTC -e binance -i 24h
113
+
gn metric list --assets BTC --assets ETH
114
+
gn metric list --from-exchange binance --to-exchange coinbase
112
115
```
113
116
117
+
| Flag | Short | Description |
118
+
|------|-------|-------------|
119
+
|`--asset`|`-a`| Filter by asset (single) |
120
+
|`--assets`|| Filter by multiple assets (repeat for each, e.g. `--assets BTC --assets ETH`) |
121
+
|`--currency`|`-c`| Filter by currency (e.g. `native`, `usd`) |
122
+
|`--exchange`|`-e`| Filter by exchange (e.g. `binance`, `coinbase`) |
123
+
|`--format`|`-f`| Filter by response format (e.g. `json`, `csv`) |
124
+
|`--interval`|`-i`| Filter by time interval (e.g. `1h`, `24h`) |
125
+
|`--from-exchange`|| Source exchange for inter-exchange metrics |
126
+
|`--to-exchange`|| Destination exchange for inter-exchange metrics |
127
+
|`--miner`|| Miner identifier for mining-related metrics |
128
+
|`--maturity`|| Maturity period for derivatives metrics |
129
+
|`--network`|| Network/blockchain for cross-chain metrics |
130
+
|`--period`|| Time period for aggregation |
131
+
|`--quote-symbol`|| Quote currency symbol for trading pairs |
132
+
114
133
### `gn metric describe <path>`
115
134
116
135
Show metadata for a metric: supported assets, intervals, exchanges, currencies, and parameters.
0 commit comments