Vai al contenuto
GET /v1/transaction

Transaction detail

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/hela-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/hela-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hela-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hela-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/hela-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": "0x698069f01C8F986649edBe2ad7f43513FA9C245d",
            "from": "0xE05AC44A667F6e9Cb1598e373ab91B24474666e5",
            "hash": "0xcda276d6769ceb2a62e1423938a408421517b7cc58f11e5231ef2bd808e720f3",
            "type": 0,
            "block": 517378,
            "nonce": 2223,
            "method": "buy",
            "status": "ok",
            "fee_wei": "43706500000000000",
            "gas_used": 437065,
            "fee_hlusd": 0.0437065,
            "gas_price": "100000000000",
            "timestamp": "2026-06-08T13:38:14.000000Z",
            "value_wei": "0",
            "value_hlusd": 0,
            "confirmations": 29
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:20.865Z",
        "request_id": "1523fff0-3110-45f3-982b-e77f2e7ea4ee"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}