Litecoin
getdescriptorinfo15 크레딧
Analyses a descriptor
매개변수
| 이름 | 타입 | 설명 |
|---|---|---|
| descriptor | string | Output 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)"
]
}'