(target: number, mode?: string)
| 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', []); |