Vai al contenuto
GET /v1/transaction

A transaction by hash

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/iotaevm-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/iotaevm-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/iotaevm-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/iotaevm-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": "0x2FA6DbFe4291136Cf272E1A3294362b6651e8517",
            "from": "0x1241f44BFA102ab7386C784959BAe3D0fB923734",
            "hash": "0x8388cb1429c1092e3a0ba5db0e101da9fa12c2bca2b4ef9a78b89ce0b326bbee",
            "type": null,
            "block": 12114088,
            "nonce": 890584,
            "method": "verifyOracleProofV2",
            "status": "ok",
            "fee_wei": "9314050000000000",
            "fee_iota": 0.00931405,
            "gas_used": 931405,
            "gas_price": "10000000000",
            "timestamp": "2026-06-08T06:46:47.000000Z",
            "value_wei": "0",
            "value_iota": 0,
            "confirmations": 1161
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:07.948Z",
        "request_id": "44c790ce-4fe3-48fe-b651-eac5221451c2"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}