/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/corn-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/corn-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/corn-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/corn-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"transaction": {
"to": "0x00000000000000000000000000000000000A4B05",
"from": "0x00000000000000000000000000000000000A4B05",
"hash": "0x5476f51f921c85f441a4be7611d493154773058c9273670129e093ecf17d0249",
"type": 106,
"block": 1634112,
"nonce": 0,
"method": "startBlock",
"status": "ok",
"fee_wei": "0",
"fee_btcn": 0,
"gas_used": 0,
"gas_price": "500000",
"timestamp": "2026-06-08T02:06:55.000000Z",
"value_wei": "0",
"value_btcn": 0,
"confirmations": 1083
}
},
"meta": {
"timestamp": "2026-06-08T09:51:23.232Z",
"request_id": "cb9c9988-8b12-48e3-b8f1-4331b9b7f522"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}