/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/tac-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tac-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tac-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/tac-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": "0x368eE51E47a594fe1E9908b48228748a30BC7ca4",
"from": "0xd11aB3573eEaeFd22765e4272202feeDE2cE334c",
"hash": "0x7e797293bb8707eabd9ef87d7061dc33d49de088579d86a861528d62029f3734",
"type": 2,
"block": 20553953,
"nonce": 71576,
"method": "updateDataFeedsValuesPartial",
"status": "ok",
"fee_tac": 0.225,
"fee_wei": "225000000000000000",
"gas_used": 500000,
"gas_price": "450000000000",
"timestamp": "2026-06-08T03:35:14.000000Z",
"value_tac": 0,
"value_wei": "0",
"confirmations": 14132
}
},
"meta": {
"timestamp": "2026-06-08T09:50:21.737Z",
"request_id": "6ae50199-bdae-4b8d-b925-5581d98531c8"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}