diff --git a/README.md b/README.md index e813f57c..0b604a3c 100644 --- a/README.md +++ b/README.md @@ -329,7 +329,7 @@ More detailed documentation can be found [here](#account). ```typescript it("should estimate fee", async function () { - const fee = contract.estimateFee("increase_balance", { amount: 10n }); + const fee = await contract.estimateFee("increase_balance", { amount: 10n }); console.log("Estimated fee:", fee.amount, fee.unit); }); ```