요금GitHub대시보드

Litecoin

getdescriptorinfo15 크레딧

Analyses a descriptor

네트워크: litecoin

매개변수

이름타입설명
descriptorstringOutput descriptor to analyse.

반환값

타입

Object

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

코드 예제

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