/v1/estimate
Transaction cost in native coin
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/gasfees-api/v1/estimate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gasfees-api/v1/estimate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gasfees-api/v1/estimate");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/gasfees-api/v1/estimate",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"name": "Ethereum",
"note": "default = a plain native transfer (21000 gas)",
"tier": "fast",
"chain": "ethereum",
"native": "ETH",
"gas_limit": 21000,
"cost_label": "0.000019679 ETH",
"cost_native": 1.9679e-5,
"gas_price_gwei": 0.937
},
"meta": {
"timestamp": "2026-06-09T03:02:38.958Z",
"request_id": "e531b69a-2dde-4641-9c83-24cb03c01531"
},
"status": "ok",
"message": "Estimate retrieved successfully",
"success": true
}