Skip to content

Commit 2d11460

Browse files
Update send-a-transaction-ethers.md
1 parent 44e4ce5 commit 2d11460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/tutorials/ethereum/send-a-transaction/send-a-transaction-ethers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ You can search for the transaction on a block explorer such as [Sepolia Ethersca
166166
To change default values, update the `signer.sendTransaction` method to include an `estimateGas` result:
167167

168168
```javascript title="eip1559_tx.js"
169-
const limit = provider.estimateGas({
169+
const limit = await provider.estimateGas({
170170
from: signer.address,
171171
to: "<to_address_goes_here>",
172172
value: ethers.utils.parseUnits("0.001", "ether"),

0 commit comments

Comments
 (0)