/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/plume-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/plume-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/plume-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/plume-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": "0x00000000000000000000000000000000000A4B05",
"from": "0x00000000000000000000000000000000000A4B05",
"hash": "0x489b4553b321bdf52cb6d5e27d3ffc5aebfcfbac287256dcffc961f1e0dd5fda",
"type": 106,
"block": 73381425,
"nonce": 0,
"method": "startBlock",
"status": "ok",
"fee_wei": "0",
"gas_used": 0,
"fee_plume": 0,
"gas_price": "1000000000000",
"timestamp": "2026-06-08T01:49:00.000000Z",
"value_wei": "0",
"value_plume": 0,
"confirmations": 74164
}
},
"meta": {
"timestamp": "2026-06-08T09:51:32.323Z",
"request_id": "339737ce-a1a7-495b-ac27-e4c58698d777"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}