hashgraph / hashgraph/hedera-docs

Document MirrorNodeContractEstimateQuery in SDKs

Open
#201 1 comment 0 reactions 1 assignee Claimed by @theekrystallee View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.