https://agent-data-tools.revmesh2074.workers.dev/ink/estimate-gas
https://agent-data-tools.revmesh2074.workers.dev/ink/estimate-gasOverview
Estimate the gas a transaction would use on Ink (eth_estimateGas) and what it would cost at the current gas price, in gas units, gwei and ETH. Give to, plus value in ETH and calldata for a contract call, and the sender when the call depends on it. Use before sending a transaction or to price a batch; for the gas price alone use ink_gas. A transaction that would revert is 422 with the reason, uncharged.