/v1/transaction
A transaction by hash
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/forma-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/forma-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/forma-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/forma-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": "0x7Ab14e7C0581cDA8B3168dD4A9058D49f2AFD027",
"from": "0x7Ab14e7C0581cDA8B3168dD4A9058D49f2AFD027",
"hash": "0x683c260d8d67b14da3b0e71cf0620470cccd5124d87ef188cd7c69acc7d25447",
"type": 0,
"block": 28400682,
"nonce": 112468,
"method": null,
"status": "ok",
"fee_tia": 0.000475281200021752,
"fee_wei": "475281200021752",
"gas_used": 21752,
"gas_price": "21850000001",
"timestamp": "2026-06-08T07:05:46.000000Z",
"value_tia": 0,
"value_wei": "0",
"confirmations": 4643
}
},
"meta": {
"timestamp": "2026-06-08T09:48:58.925Z",
"request_id": "9093cf20-cae4-46b4-a0e8-6a7e874d2253"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}