
getchainstates
Blockchain command of DebitMyData Core 1.3.5.
getchainstatesReturn information about chainstates.
Result
Section titled “Result”{ (json object) "headers" : n, (numeric) the number of headers seen so far "chainstates" : [ (json array) list of the chainstates ordered by work, with the most-work (active) chainstate last { (json object) "blocks" : n, (numeric) number of blocks in this chainstate "bestblockhash" : "hex", (string) blockhash of the tip "bits" : "hex", (string) nBits: compact representation of the block difficulty target "target" : "hex", (string) The difficulty target "difficulty" : n, (numeric) difficulty of the tip "verificationprogress" : n, (numeric) progress towards the network tip "snapshot_blockhash" : "hex", (string, optional) the base block of the snapshot this chainstate is based on, if any "coins_db_cache_bytes" : n, (numeric) size of the coinsdb cache "coins_tip_cache_bytes" : n, (numeric) size of the coinstip cache "validated" : true|false (boolean) whether the chainstate is fully validated. True if all blocks in the chainstate were validated, false if the chain is based on a snapshot and the snapshot has not yet been validated. }, ... ]}Examples
Section titled “Examples”debitmydata-cli getchainstatescurl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getchainstates", "params": []}' -H 'content-type: application/json' http://127.0.0.1:18557/© 2026 Debit My Data, Inc. · DMD is the native coin of the DebitMyData Proof-of-Work chain. ·[email protected] ·Policies

