@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines • 539 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* verifytxoutproof "proof"
*
* Verifies that a proof points to a transaction in a block, returning the transaction it commits to
* and throwing an RPC error if the block is not in our best chain
*
*/
export function verifyTxOutProof(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'verifytxoutproof', params: methodParams }, bitcoind);
}
//# sourceMappingURL=verify-tx-out-proof.js.map