/v1/transaction
A transaction by hash
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/lumia-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lumia-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lumia-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/lumia-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"transaction": {
"to": "0x7Bc4725aF5A40fBdee884BdE51baeA7aEcc10652",
"from": "0x044A29248b4adbc4eE2Ba509C1558D3cE262AefF",
"hash": "0x9dd33d7d1a4aca101bbcc3f3935cca34d7fa6670ef01994bb96acbc55234b062",
"type": 0,
"block": 17547574,
"nonce": 3164554,
"method": "0xd09de08a",
"status": "ok",
"fee_wei": "27374000191618",
"gas_used": 27374,
"fee_lumia": 2.7374000191618e-5,
"gas_price": "1000000007",
"timestamp": "2026-06-08T02:50:42.000000Z",
"value_wei": "0",
"value_lumia": 0,
"confirmations": 8342
}
},
"meta": {
"timestamp": "2026-06-08T09:50:55.865Z",
"request_id": "586a549f-f616-4f7e-b1f3-a553792b5a5a"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}