Bitcoin
getdescriptorinfo15 crédits
Analyses a descriptor
Paramètres
| Nom | Type | Description |
|---|---|---|
| descriptor | string | Output descriptor to analyse. |
Valeur renvoyée
Type
Object
descriptor (canonical form without private keys, with checksum), checksum, isrange, issolvable and hasprivatekeys.
Exemples de code
curl https://holy-burned-sky-bitcoin-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getdescriptorinfo",
"params": [
"wpkh(02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5)"
]
}'