eth_estimateGas - Robinhood Chain API | Alchemy Docs

eth_estimateGas

POST
https://robinhood-mainnet.g.alchemy.com/v2/{apiKey}

Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.

Path Parameters

apiKey

For higher throughput, create your own API key

Request

Transaction

The transaction object for which to estimate gas usage.

Block

Responses

200

The estimated amount of gas required for the transaction, as a hexadecimal string.