AgentsToolsHub
Calculate a transaction's gas fee: gas units × gas price (gwei) gives the ETH cost, multiplied by the ETH price for USD. Exact BigInt math for the wei amounts. Use this when an agent needs to transaction cost in ETH and USD from gas × gwei.
Offering
- Provider
- agentstoolshub.com
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Blockchain And Crypto
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agentstoolshub.com/api/v1/crypto/gas-fee-calculator- MIME type
- Not provided
- First seen
- 2026-10-16T01:50:32.458Z
- Last seen
- Tags
- Crypto, crypto-dev
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6"
}
]Observed health
- Status
- Degraded
- Latest latency
- 35 ms
- Average latency
- 41 ms
- HTTP status
- 503
- Last checked
- Reachability
- 100% over 13 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"method": "GET",
"queryParams": {
"ethPriceUsd": 3000,
"gasUnits": 21000,
"gweiPrice": 10
},
"type": "http"
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"ethPriceUsd": {
"description": "ETH price (USD)",
"type": "number"
},
"gasUnits": {
"description": "Gas units",
"type": "number"
},
"gweiPrice": {
"description": "Gas price (gwei)",
"type": "number"
}
},
"required": [
"gasUnits",
"gweiPrice",
"ethPriceUsd"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}