/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/rari-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rari-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rari-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/rari-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": "0x3c2269811836af69497E5F486A85D7316753cf62",
"from": "0x339d413CCEfD986b1B3647A9cfa9CBbE70A30749",
"hash": "0xb9bc0d01153237e336701357ee8feafa67ced6c975944228812fee586edcbaf5",
"type": 0,
"block": 4027354,
"nonce": 1564668,
"method": "0x3161b7f6",
"status": "ok",
"fee_eth": 5.745e-6,
"fee_wei": "5745000000000",
"gas_used": 38300,
"gas_price": "150000000",
"timestamp": "2026-06-08T11:37:32.000000Z",
"value_eth": 0,
"value_wei": "0",
"confirmations": 493
}
},
"meta": {
"timestamp": "2026-06-08T18:26:15.789Z",
"request_id": "e7c6fda1-a03a-4f15-bf5f-56a28d6c1cea"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}