almanak markets¶
what each market in config.yaml resolves to: its contracts, tokens and ids, with each token's symbol and decimals, for checking before approval (no prices read)
usage: almanak markets [-h] [--config CONFIG] [--out OUT] [--block BLOCK]
[--env-file ENV_FILE | --gateway-url GATEWAY_URL]
[--gateway-auth-file GATEWAY_AUTH_FILE]
| Option | Details | Description |
|---|---|---|
--config |
Path; default config.yaml |
|
--out |
Path; default .almanak/markets.json |
|
--block |
block; default latest |
block to pin: a decimal block number, 'finalized' or 'latest'; the output names the resolved number and hash |
--env-file |
Path | private provider credentials read by this process |
--gateway-url |
read-only observation gateway on loopback (service read-gateway) | |
--gateway-auth-file |
Path | authentication token file for --gateway-url |
At most one of --env-file, --gateway-url.