diff --git a/packages/jellyfish-api-core/src/category/mining.ts b/packages/jellyfish-api-core/src/category/mining.ts index c8055b58aa..7d5e87f33d 100644 --- a/packages/jellyfish-api-core/src/category/mining.ts +++ b/packages/jellyfish-api-core/src/category/mining.ts @@ -47,7 +47,7 @@ export class Mining { /** * * @param {number} confirmationTarget in blocks (1 - 1008) - * @param {EstimateMode} [estimateMode='CONSERVATIVE'] estimateMode of fees. + * @param {EstimateMode} [estimateMode=EstimateMode.CONSERVATIVE] estimateMode of fees. * @returns {Promise} */ async estimateSmartFee (confirmationTarget: number, estimateMode: EstimateMode = EstimateMode.CONSERVATIVE): Promise { diff --git a/website/docs/jellyfish/api/mining.md b/website/docs/jellyfish/api/mining.md index 3e3ea3ff17..fac184ea37 100644 --- a/website/docs/jellyfish/api/mining.md +++ b/website/docs/jellyfish/api/mining.md @@ -98,7 +98,7 @@ Estimates the approximate fee per kilobyte needed for a transaction ```ts title="client.mining.estimateSmartFee()" interface mining { - estimateSmartFee (confirmationTarget: number, estimateMode: EstimateMode = 'CONSERVATIVE'): Promise + estimateSmartFee (confirmationTarget: number, estimateMode: EstimateMode = EstimateMode.CONSERVATIVE): Promise } interface SmartFeeEstimation {