https://agent-data-tools.revmesh2074.workers.dev/avax/estimate-gas
https://agent-data-tools.revmesh2074.workers.dev/avax/estimate-gasOverview
Estimate the gas a transaction would use on Avalanche (eth_estimateGas) and what it would cost at the current gas price, in gas units, gwei and AVAX. Give to, plus value in AVAX 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 avax_gas. A transaction that would revert is 422 with the reason, uncharged.