agentek-eth

by NaniDAO
Verified

getGasPrice

Retrieve the current gas price for Ethereum-based transactions. Specify a chainId for a single chain or leave it blank to get prices across all supported chains. Optionally format the result in Gwei.

Instructions

Get the current gas price. If chainId is not specified, will return gas price for all supported chains.

Input Schema

NameRequiredDescriptionDefault
chainIdNo
formatGweiNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "type": "number" }, "formatGwei": { "type": "boolean" } }, "type": "object" }

You must be authenticated.

Other Tools from agentek-eth

Related Tools

ID: embaq2gcce