hashgraph / hedera-smart-contracts

Contains Hedera Smart Contract Service supporting files
Apache License 2.0
37 stars 51 forks source link

[System Contract DApp] Mark manual gasLimit input optional #668

Closed quiet-node closed 5 months ago

quiet-node commented 5 months ago

Problem

Currently, within the System Contract Dapp Playground, specific methods require users to manually input a gas amount in order to execute transactions. This manual input process can potentially introduce inefficiencies and inconvenience for users interacting with the platform.

Solution

Utilize ethers's estimateGas() method to automatically estimate gas for the transactions or use mirror node to query for estimated gas.

Alternatives

No response