/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/vanar-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vanar-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vanar-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/vanar-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"transaction": {
"to": "0x41Ef42Ea477CA0c6adced91F0A2C2FA7C97CCD25",
"from": "0x9b23180f6AE8aD7862E4F6DF9Cc847dB47727b71",
"hash": "0xd91635110462c8f899638ba99b4059f710d9b71a618b510d5dd5426e03d0ae42",
"type": 0,
"block": 22968766,
"nonce": 168515,
"method": "setDelegatorRewards",
"status": "ok",
"fee_wei": "233224000000000",
"gas_used": 233224,
"fee_vanry": 0.000233224,
"gas_price": "1000000000",
"timestamp": "2026-06-08T06:18:04.000000Z",
"value_wei": "0",
"value_vanry": 0,
"confirmations": 4225
}
},
"meta": {
"timestamp": "2026-06-08T09:49:21.512Z",
"request_id": "1ea00526-a912-4e4f-9edd-5d6dda315695"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}