/v1/transaction
Transaction detail
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/zenchain-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/zenchain-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/zenchain-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/zenchain-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": "0x7798f2Eb73C1Dd8Fa8086d780D5CF114A10F528E",
"from": "0x67e29007BD3E2c3b368ec21c0259DAbC36C039D6",
"hash": "0xaef80fc1142f32afb0e48afb346382d6b7fb9218553c1b734dd069c6bde65a17",
"type": 0,
"block": 8305658,
"nonce": 38,
"method": "0x52eec2c6",
"status": "ok",
"fee_wei": "754466000000000",
"fee_ztc": 0.000754466,
"gas_used": 1508932,
"gas_price": "500000000",
"timestamp": "2026-06-08T12:20:48.000000Z",
"value_wei": "5000000000000000000",
"value_ztc": 5,
"confirmations": 3633
}
},
"meta": {
"timestamp": "2026-06-08T18:25:55.014Z",
"request_id": "f3963cc9-325d-4da9-bd44-177af15f5f3c"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}