Aller au contenu
GET /v1/transaction

Transaction detail

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/flare-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/flare-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/flare-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/flare-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/flare-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": "0xD6D433DE0fCeA8693C7dE4a1a8c0C0401931aDc8",
            "from": "0x488887d02591DBb334867F04e560D83150111111",
            "hash": "0x23dc1784face45a3c93ccc351cf587c893b4eda3fd45c46c47ec13b9d4534c45",
            "type": 2,
            "block": 62500010,
            "nonce": 9300168,
            "method": "0x7577109d",
            "status": "ok",
            "fee_flr": 2.49032745815e-6,
            "fee_wei": "2490327458150",
            "gas_used": 66325,
            "gas_price": "37547342",
            "timestamp": "2026-06-08T10:45:44.000000Z",
            "value_flr": 0,
            "value_wei": "0",
            "confirmations": 21006
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:26:41.809Z",
        "request_id": "43d9bc31-68fa-4485-96cb-be688092f414"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}