@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
21 lines • 873 B
TypeScript
import { Bitcoind } from '../../types.js';
type EstimateRawFeeParams = {
bitcoind: Bitcoind;
conf_target: number;
threshold?: number;
};
/**
* estimaterawfee conf_target ( threshold )
*
* WARNING: This interface is unstable and may disappear or change!
* WARNING: This is an advanced API call that is tightly coupled to the specific
* implementation of fee estimation. The parameters it can be called with
* and the results it returns will change if the internal implementation changes.
* Estimates the approximate fee per kilobyte needed for a transaction to begin
* confirmation within conf_target blocks if possible. Uses virtual transaction size as
* defined in BIP 141 (witness data is discounted).
*
*/
export declare function estimateRawFee(params: EstimateRawFeeParams): Promise<any>;
export {};
//# sourceMappingURL=estimate-raw-fee.d.ts.map