hashgraph / hashgraph/hedera-docs
Document MirrorNodeContractEstimateQuery in SDKs
Open
- Dominant language
- MDX
- Stars
- 10
- Forks
- 49
- Avg merge
- 19h 49m
- Merged PRs (30d)
- 17
Description
Smart contract devs should always first ask for a gas estimation prior to submitting a transaction.
Smart Contract devs on Hedera have 3 ways to estimate gas.
- `eth_estimateGas` if using an EVM tool
- `MirrorNodeContractEstimateQuery` if using HAPI via the SDK
- `api/v1/contracts/call` if using MAPI
`MirrorNodeContractEstimateQuery` in the SDKs is not documented. It should be documented and the three methods above mentioned for education.
Contributor guide
Assessment
This issue has not been assessed yet.