/v1/transaction
A transaction by hash
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/harmony-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/harmony-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/harmony-api/v1/transaction");
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/harmony-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"transaction": {
"to": "0x5d229Bc02eaE8C46225425A1DD7D37047b61C148",
"from": "0xBA5Af10D606e5f21f0aD83b7b3f53e920088f3dE",
"hash": "0x2e5e72e5397bb1c9855396cdb293a095a83e073f41671cd95f1db73542ea75eb",
"type": null,
"block": 89945887,
"nonce": 0,
"method": "mint",
"status": "ok",
"fee_one": 0.0758961,
"fee_wei": "75896100000000000",
"gas_used": 758961,
"gas_price": "100000000000",
"timestamp": "2026-06-08T06:03:43.000000Z",
"value_one": 0,
"value_wei": "0",
"confirmations": 6748
}
},
"meta": {
"timestamp": "2026-06-08T09:49:27.321Z",
"request_id": "86a0745c-9812-47e1-8c7d-9d4327e50749"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}