bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines (14 loc) • 552 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* 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) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'verifytxoutproof', params: methodParams }, bitcoind);
}