Get current Ethereum gas prices (slow, standard, fast).
You need to know current Ethereum gas prices before submitting a transaction or estimating costs.
None — call with an empty parameters object.
slow_gwei, standard_gwei, fast_gwei, base_fee_gwei, estimated confirmation times
{
"slow_gwei": 1.5,
"standard_gwei": 2.0,
"fast_gwei": 3.0,
"base_fee_gwei": 1.2,
"source": "etherscan"
}
curl -X POST https://agentpay.tools/tools/gas_tracker/call \
-H 'Content-Type: application/json' \
-d '{"parameters": {}, "agent_address": "<your wallet or any identifier>"}'
from agentpay import quickstart # pip install agentpay-x402
s = quickstart(max_spend=0.10) # hard budget cap; mints a wallet, no funding needed
r = s.call("gas_tracker", {})
print(r.data) # + r.cost, r.tx, r.network — full receipt
npx -y @romudille/agentpay-mcp # keyless; exposes gas_tracker to any MCP agent runtime