Bitcoin
Bitcoin
Bitcoin
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
verifytxoutproof is the checking half of Bitcoin's Merkle-proof pair: you give it the hex proof that gettxoutproof produced, and it validates that proof against the node's view of the best chain. If the proof holds, it returns the array of txids the proof commits to, confirming those BTC transactions really were mined into a block on the main chain; if it does not, you get an empty array. This lets a light client or counterparty confirm a payment was included without trusting whoever supplied the proof. Send the hex proof string to https://bitcoin.therpc.io/YOUR_API_KEY.
| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | proof | string | نعم | Hex proof produced by gettxoutproof. |
| النوع | الوصف |
|---|---|
| array | Array of txids the proof commits to (empty if the proof is invalid or not in the best chain). |
| الكود | الرسالة | السبب |
|---|---|---|
-8 | Invalid parameter | A parameter is out of range or the wrong shape — check verbosity levels, conf_target bounds, and required fields. |