MCPcopy Create free account
hub / github.com/bitpay/bitcore / getEstimateSmartFee

Method getEstimateSmartFee

packages/bitcore-node/src/rpc.ts:110–116  ·  view source on GitHub ↗
(target: number, mode?: string)

Source from the content-addressed store, hash-verified

108 }
109
110 async getEstimateSmartFee(target: number, mode?: string) {
111 const args: any[] = [target];
112 if (mode) {
113 args.push(mode);
114 }
115 return this.asyncCall('estimatesmartfee', args);
116 }
117
118 async getEstimateFee() {
119 return this.asyncCall('estimatefee', []);

Callers 2

getFeeMethod · 0.80
getFeeMethod · 0.80

Calls 1

asyncCallMethod · 0.95

Tested by

no test coverage detected