← 返回
数据分析 中文

Qelt Contracts

Verify, inspect, and retrieve verified Solidity smart contracts, ABIs, and compiler/EVM versions on the QELT blockchain using the Mainnet Indexer API.
使用主网索引器 API 在 QELT 区块链上验证、检查和获取已验证的 Solidity 智能合约、ABI 及编译器/EVM 版本。
prqelt
数据分析 clawhub v0.1.0 1 版本 99864.1 Key: 无需
★ 0
Stars
📥 735
下载
💾 9
安装
1
版本
#latest

概述

QELT Smart Contract Verification Skill

The QELT Mainnet Indexer provides production-grade contract verification via REST API. Supports 500+ Solidity versions, constructor arguments, library linking, multi-file contracts (75+ files), viaIR compilation, and automatic EVM version detection.

API Base: https://mnindexer.qelt.ai

Rate Limit: 10 verification submissions per hour per IP

Timeout per job: 600 seconds (10 minutes)

Status polling: Unlimited — poll every 3–5 seconds freely

Safety

  • Do not submit source code containing private keys or secrets.
  • Verification is permanent — source becomes public once verified.
  • Always check if already verified before submitting (saves rate limit quota).
  • status: "completed" does NOT mean verified — always check result.verified === true.
  • Status polling is unlimited — do not re-submit while a job is still processing.

Procedure

1. Check if Already Verified (Do This First)

curl -fsSL "https://mnindexer.qelt.ai/api/v2/contracts/0xCONTRACT/verification"

If "verified": true → return existing source/ABI to user, no submission needed.

2. Submit Single-File Contract

curl -fsSL -X POST "https://mnindexer.qelt.ai/api/v1/verification/submit" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "0xCONTRACT",
    "sourceCode": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n...",
    "compilerVersion": "0.8.20",
    "contractName": "MyContract",
    "optimizationUsed": true,
    "runs": 200,
    "evmVersion": "shanghai",
    "constructorArguments": "0x000...",
    "libraries": {}
  }'

Response: { "success": true, "jobId": "uuid", "statusUrl": "/api/v1/verification/status/uuid" }

3. Submit Multi-File Contract (with imports)

For contracts using OpenZeppelin or any import statements:

curl -fsSL -X POST "https://mnindexer.qelt.ai/api/v1/verification/submit-multi" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "0xCONTRACT",
    "compilerVersion": "v0.8.17+commit.8df45f5f",
    "contractName": "MyToken",
    "optimizationUsed": true,
    "runs": 200,
    "viaIR": true,
    "evmVersion": "london",
    "mainFile": "contracts/MyToken.sol",
    "sourceFiles": {
      "contracts/MyToken.sol": "pragma solidity ^0.8.17; ...",
      "@openzeppelin/contracts/token/ERC20/ERC20.sol": "..."
    }
  }'

4. Poll Status (Unlimited)

curl -fsSL "https://mnindexer.qelt.ai/api/v1/verification/status/JOB_ID"

States: pendingprocessingcompleted / failed

⚠️ After "completed", always verify result.verified === true:

{
  "status": "completed",
  "result": { "verified": true, "abi": [...] }
}

verified: false with status: "completed" = bytecode mismatch.

5. Get Compiler Versions

curl -fsSL "https://mnindexer.qelt.ai/api/v2/verification/compiler-versions"

6. Get EVM Versions

curl -fsSL "https://mnindexer.qelt.ai/api/v2/verification/evm-versions"

EVM Version Selection

Solidity RangeEVM Version
----------------------------
0.5.14 – 0.8.4istanbul
0.8.5berlin
0.8.6 – 0.8.17london
0.8.18 – 0.8.19paris
0.8.20 – 0.8.23shanghai
0.8.24+cancun

QELT Mainnet runs EVM Cancun — use cancun for Solidity 0.8.24+.

Rate Limits

EndpointLimit
-----------------
POST /api/v1/verification/submit10 req/hour per IP
POST /api/v1/verification/submit-multi10 req/hour per IP
GET /api/v1/verification/status/:jobIdUnlimited
All other GET endpointsNot rate limited

Rate limit headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After.

Common Errors

SymptomLikely CauseFix
---------------------------
verified: false (completed)Wrong compiler/optimization/argsMatch exact deployment settings
HTTP 429Rate limitedWait Retry-After seconds (usually 3600)
status: "failed"Compilation errorCheck message field
Timeout at 600sLarge contract + viaIRNormal; job still finishes

Best Practices

  1. Check before submit — use GET /api/v2/contracts/:address/verification first
  2. Use /submit-multi for any contract with import statements
  3. Include "viaIR": true if compiled with viaIR: true in hardhat config
  4. Poll every 3–5 seconds — do not re-submit a pending job

Developer Tools

Hardhat Plugin: npm install --save-dev @qelt/hardhat-verify@latest

npx hardhat qelt:verify --network qelt 0xCONTRACT_ADDRESS

CLI Tool: npm install -g qelt-verifyqelt-verify verify 0x... ./Contract.sol --compiler-version 0.8.20 --optimize

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 15:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

QELT Blockchain

prqelt
通过JSON-RPC查询和交互QELT区块链(链ID 770)。当被问及区块、交易、钱包余额、智能合约调用、燃气费等信息时使用。
★ 0 📥 644
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,175
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,096