@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
18 lines • 655 B
TypeScript
import { Bitcoind } from '../../types.js';
type EstimateSmartFeeParams = {
bitcoind: Bitcoind;
conf_target: number;
estimate_mode?: string;
};
/**
* estimatesmartfee conf_target ( "estimate_mode" )
*
* Estimates the approximate fee per kilobyte needed for a transaction to begin
* confirmation within conf_target blocks if possible and return the number of blocks
* for which the estimate is valid. Uses virtual transaction size as defined
* in BIP 141 (witness data is discounted).
*
*/
export declare function estimateSmartFee(params: EstimateSmartFeeParams): Promise<any>;
export {};
//# sourceMappingURL=estimate-smart-fee.d.ts.map