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/manta-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/manta-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/manta-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/manta-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/manta-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": "0x139A491B8c129Ee0AC61B04c90adBfA236c24d85",
            "from": "0x587e081c7Aba5FDc3BccEc02B4836BFB38248105",
            "hash": "0x85e4f613c25d56ddb0ef6ff9fc1cfd12357f12a34e66240ccd936c0721869651",
            "type": 0,
            "block": 8666420,
            "nonce": 501468,
            "method": "0x92acb21c",
            "status": "ok",
            "fee_eth": 2.7061687682414e-5,
            "fee_wei": "27061687682414",
            "gas_used": 110743,
            "gas_price": "244255534",
            "timestamp": "2026-06-08T03:09:19.000000Z",
            "value_eth": 0,
            "value_wei": "0",
            "confirmations": 2409
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:47.028Z",
        "request_id": "98b0ebba-a0d3-4fa5-bb9c-a9e6c10a7454"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}