/v1/transaction
A transaction by hash
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/etherlink-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/etherlink-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/etherlink-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/etherlink-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"transaction": {
"to": "0x0c532e1e916219007f244e2d8Ef46f8530Ec75DE",
"from": "0xEb8c75Dcc2632B63498f8e27251Fa58e280E9fbd",
"hash": "0xbcaa7703b992e344bdf8a0628a4ac41d760d6806a7d6defc3a1a37e160ecf93d",
"type": 2,
"block": 44811576,
"nonce": 4369,
"method": "credit",
"status": "ok",
"fee_wei": "953130000000000",
"fee_xtz": 0.00095313,
"gas_used": 953130,
"gas_price": "1000000000",
"timestamp": "2026-06-08T04:56:14.000000Z",
"value_wei": "0",
"value_xtz": 0,
"confirmations": 7151
}
},
"meta": {
"timestamp": "2026-06-08T09:49:52.973Z",
"request_id": "298494ab-1f31-4402-836a-08654f0c16aa"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}