bitcoind.app
CommandsGuidesContact ↗
Home/Blockchain/getdeploymentinfo
Blockchain

getdeploymentinfo

Returns an object containing various state info regarding deployments of consensus changes.

Parameters

blockhashstringoptional
The block hash at which to query deployment state. Default: tip

Returns

objectDeployment info including hash, height, and deployments

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"getdeploymentinfo","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "hash": "00000000000000...",
  "height": 840000,
  "deployments": {
    "taproot": {
      "type": "bip9",
      "bip9": { "status": "active" },
      "height": 709632,
      "active": true
    }
  }
}
← Previous
enumeratesigners
Next →
scanblocks

More Blockchain Commands

getbestblockhashgetblockgetblockchaininfogetblockcountgetblockfiltergetblockhash

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗