/v1/transaction
A transaction by hash
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/syscoin-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/syscoin-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/syscoin-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/syscoin-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"transaction": {
"to": "0xb8FFE6015e1c00CFA620F884f25f21f001744C0e",
"from": "0x21821Dc24dd29D2D23fE7223dB2BB8D2a72cC95F",
"hash": "0x62ce5f67caa9c84109dae205aaa3bd7e8330f5796a185f2fd3528e1c9315ad1b",
"type": 2,
"block": 935029,
"nonce": 33631,
"method": "proposeL2Output",
"status": "ok",
"fee_sys": 1.151426952e-9,
"fee_wei": "1151426952",
"gas_used": 86424,
"gas_price": "13323",
"timestamp": "2026-06-07T22:11:07.000000Z",
"value_sys": 0,
"value_wei": "0",
"confirmations": 238
}
},
"meta": {
"timestamp": "2026-06-08T09:49:50.492Z",
"request_id": "c97ef20e-e47c-42ef-b6c7-8aeaeee6f95a"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}