Zcash
getdescriptorinfo8 额度
分析描述符
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| descriptor | string | 要分析的输出描述符。 |
返回值
类型
Object
descriptor(不含私钥的规范形式,带校验和)、checksum、isrange、issolvable 和 hasprivatekeys。
代码示例
curl https://holy-burned-sky-zcash-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)"
]
}'