Given the P2P and API endpoints of a running, public EOSIO blockchain, how do I query either of them for the JSON genesis block description of that running blockchain?
Specifically, I want to discover the contents of a "genesis.json" file that I can pass to nodeos like this:
nodeos --genesis-json=genesis.json
Alternatively, is there any way I can connect and synchronize with a running blockchain with API and P2P endpoits without needing out-of-band information?