PreiseGitHubDashboard

Dash

getdescriptorinfo15 Credits

Analyses a descriptor

Netzwerk: dash

Parameter

NameTypBeschreibung
descriptorstringOutput descriptor to analyse.

Rückgabewert

Typ

Object

descriptor (canonical form without private keys, with checksum), checksum, isrange, issolvable and hasprivatekeys.

Codebeispiele

curl https://holy-burned-sky-dash-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)"
  ]
}'