Aller au contenu
GET /v1/transaction

A transaction by hash

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/telos-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/telos-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/telos-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/telos-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/telos-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": "0xf774801c9f1b11e70966CE65EC7f95d7730F380d",
            "from": "0x681636784F1E2e119a86B0ddD089f4D6f49FeB41",
            "hash": "0xee27195cd9636a15c485ae05c5c17bfe513a8f6b8678d37841c118c576d5abe1",
            "type": 0,
            "block": 471764058,
            "nonce": 311789,
            "method": "setValue",
            "status": "ok",
            "fee_wei": "195824301595837504",
            "fee_tlos": 0.1958243015958375,
            "gas_used": 33892,
            "gas_price": "5777891584912",
            "timestamp": "2026-06-08T04:44:07.000000Z",
            "value_wei": "0",
            "value_tlos": 0,
            "confirmations": 36697
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:55.817Z",
        "request_id": "abae5a08-3887-4cd9-a96a-68bc7ca6a1bd"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}