Zcash
verifytxoutproof8 kredi
Bir kanıtın bir bloktaki bir işleme işaret ettiğini doğrular
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| proof | string | gettxoutproof tarafından üretilen hex kodlu kanıt. |
Dönüş değeri
Tür
string[]
Kanıtın bağlandığı txid değerleri; kanıt geçersizse boş dizi. Blok en iyi zincirde değilse hata verir.
Kod örnekleri
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": "verifytxoutproof",
"params": [
"0100000…"
]
}'