Aller au contenu
GET /v1/transaction

Transaction detail

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/cyber-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/cyber-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cyber-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cyber-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/cyber-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": "0x4cD00E387622C35bDDB9b4c962C136462338BC31",
            "from": "0x9B6cB5ee13014110211304De0C5CEE1D9410a67f",
            "hash": "0x6db1be00de1341301a79ebbe330bd147a15335f32300e9ee6a6333dce2ac18a1",
            "type": 0,
            "block": 33744388,
            "nonce": 111,
            "method": "0x49290c1c",
            "status": "ok",
            "fee_eth": 9.077618e-12,
            "fee_wei": "9077618",
            "gas_used": 24812,
            "gas_price": "352",
            "timestamp": "2026-06-08T11:15:43.000000Z",
            "value_eth": 0.000191253576779778,
            "value_wei": "191253576779778",
            "confirmations": 12919
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:26:23.328Z",
        "request_id": "27b8d9ca-6871-419a-8b13-085bab4156bf"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}