Usage: cardano-cli query ledger-state [ --shelley-mode | --byron-mode [--epoch-slots NATURAL] | --cardano-mode [--epoch-slots NATURAL] ] (--mainnet | --testnet-magic NATURAL) [--out-file FILE] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) Available options: --shelley-mode For talking to a node running in Shelley-only mode. --byron-mode For talking to a node running in Byron-only mode. --epoch-slots NATURAL The number of slots per epoch for the Byron era. (default: 21600) --cardano-mode For talking to a node running in full Cardano mode (default). --epoch-slots NATURAL The number of slots per epoch for the Byron era. (default: 21600) --mainnet Use the mainnet magic id. --testnet-magic NATURAL Specify a testnet magic id. --out-file FILE Optional output file. Default is to write to stdout. -h,--help Show this help text