Return the current height of DAG main chain
None
(array of string, verbose=true)(hex string) block height(hex string) nonce(hex string) custom data 1, filled by miner, ASCII string(hex string) custom data 2(array of string, verbose=false) total number(hex string) custom data 1, filled by miner, ASCII string(hex string) custom data 2curl --data '{"method":"getMainChainHeight","params":[],"jsonrpc":"2.0","id":1}' -s -k -u "rpcuser:rpcpass" -H 'Content-Type: application/json' http://127.0.0.1:18131 |jq .
32522
© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License