Table Of Contents
- Developer Guides
- Reference
- Introduction
- Block Chain
- Transactions
- Wallets
- P2P Network
- RPC API Reference
- Blockchain RPCs
- getbestblockhash
- getblock
- getblockchaininfo
- getblockcount
- getblockhash
- getblockheader
- getblockstats
- getchaintips
- getchaintxstats
- getdifficulty
- getmempoolancestors
- getmempooldescendants
- getmempoolentry
- getmempoolinfo
- getrawmempool
- gettxout
- gettxoutproof
- gettxoutsetinfo
- preciousblock
- pruneblockchain
- savemempool
- scantxoutset
- verifychain
- verifytxoutproof
- Control RPCs
- Generating RPCs
- Mining RPCs
- Network RPCs
- Rawtransactions RPCs
- Util RPCs
- Wallet RPCs
- abandontransaction
- abortrescan
- addmultisigaddress
- backupwallet
- bumpfee
- createwallet
- dumpprivkey
- dumpwallet
- encryptwallet
- getaddressesbylabel
- getaddressinfo
- getbalance
- getnewaddress
- getrawchangeaddress
- getreceivedbyaddress
- getreceivedbylabel
- gettransaction
- getunconfirmedbalance
- getwalletinfo
- importaddress
- importmulti
- importprivkey
- importprunedfunds
- importpubkey
- importwallet
- keypoolrefill
- listaddressgroupings
- listlabels
- listlockunspent
- listreceivedbyaddress
- listreceivedbylabel
- listsinceblock
- listtransactions
- listunspent
- listwalletdir
- listwallets
- loadwallet
- lockunspent
- removeprunedfunds
- rescanblockchain
- sendmany
- sendtoaddress
- sethdseed
- setlabel
- settxfee
- signmessage
- signrawtransactionwithwallet
- unloadwallet
- walletcreatefundedpsbt
- walletlock
- walletpassphrase
- walletpassphrasechange
- walletprocesspsbt
- Blockchain RPCs
- Examples
- Glossary
Previous topic
Next topic
getdescriptorinfo¶
getdescriptorinfo "descriptor"
Analyses a descriptor.
Result¶
{
"descriptor" : "desc", (string) The descriptor in canonical form, without private keys
"isrange" : true|false, (boolean) Whether the descriptor is ranged
"issolvable" : true|false, (boolean) Whether the descriptor is solvable
"hasprivatekeys" : true|false, (boolean) Whether the input descriptor contained at least one private key
}
Examples¶
Analyse a descriptor:
bitcoin-cli getdescriptorinfo "wpkh([d34db33f/84h/0h/0h]0279be667ef9dcbbac55a06295Ce870b07029Bfcdb2dce28d959f2815b16f81798)"