/v1/contract
Verification status, compiler, name and deployment for a contract
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/contractverify-api/v1/contract" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/contractverify-api/v1/contract", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/contractverify-api/v1/contract");
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/contractverify-api/v1/contract",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"name": "FiatTokenProxy",
"note": "match=exact_match means bytecode matches exactly; match=match is a partial (metadata-hash) match.",
"match": "match",
"source": "Sourcify",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"chain_id": 1,
"language": "Solidity",
"verified": true,
"deployment": {
"deployer": "0x95Ba4cF87D6723ad9C0Db21737D862bE80e93911",
"block_number": 6082465,
"transaction_hash": "0xe7e0fe390354509cd08c9a0168536938600ddc552b3f7cb96030ebef62e75895"
},
"verified_at": "2024-08-08T13:20:07Z",
"runtime_match": "match",
"creation_match": "match",
"compiler_version": "0.4.24+commit.e67f0147"
},
"meta": {
"timestamp": "2026-06-14T08:04:17.625Z",
"request_id": "3e2888de-49c2-41d2-a068-99a75b40b2bb"
},
"status": "ok",
"message": "Contract verification retrieved successfully",
"success": true
}