/v1/transaction
Transaction detail
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/karak-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/karak-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/karak-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/karak-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"transaction": {
"to": "0xd6034F9147CF7528e857403Dea93bc45743295eb",
"from": "0x0C8A4800Eb0e189F1540Fdf9cA3718764c26A9a8",
"hash": "0x1b32c763d539ac6e9a8530a6c226760d929529f70c74f91c4878ae422a855ca3",
"type": 2,
"block": 38762301,
"nonce": 47611,
"method": "0xe420e3db",
"status": "ok",
"fee_eth": 5.8011615244e-8,
"fee_wei": "58011615244",
"gas_used": 57997,
"gas_price": "1000252",
"timestamp": "2026-06-08T12:00:17.000000Z",
"value_eth": 0,
"value_wei": "0",
"confirmations": 11572
}
},
"meta": {
"timestamp": "2026-06-08T18:26:02.786Z",
"request_id": "a3c99072-61cf-4bc8-90a2-023490db609f"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}