Verify a trade and its pool reserves / 核对成交与池子储备¶
Start with AiBTC Verification Method v2 and the website's public Explorer. Give the method, AI prompt, and the complete material copied from a record to your AI for independent computation.
One trade, with the pool's reserve change, leaves a verifiable proof. Hand it to your AI to recompute independently.
The proof connects a record's original bytes, its place in the public log, a batch manifest, and a Bitcoin anchor. For supported AMM records, the method also gives the integer calculations for output amounts, fees and reserve changes.
Original record bytes
→ Event fingerprint
→ Merkle inclusion in a stated log head
→ Canonical batch manifest and digest
→ OTS operations and a Bitcoin block
→ Recompute the covered trade and reserve changes
Read in this order¶
| Read | What it provides |
|---|---|
| Method v2 | Exact byte operations, Merkle checks, Bitcoin anchoring and covered trade formulas |
| AI prompt | The questions to ask alongside a complete copied proof |
| Public endpoints | Read-only paths, identifiers, market scope, time fields and reference downloads |
| What an AI can check | What to calculate from a copied trade proof |
| Reference script | Existing Python verifier, its checksum and local usage |
| Code examples | Existing public API, MCP and wallet examples |
Use a complete proof¶
- Open a record in the Explorer and copy its complete verification material. Keep
canonical_payloadandcanonical_manifestexactly as copied. - Supply the method and prompt together with that material. Ask for the computed value of each check.
- Use the reference script for fingerprints and Merkle relations, then follow Method v2 to verify the Bitcoin anchor.
- For the formula version covered by the method, recompute the amounts, rounding, fees and pool reserve changes using integer arithmetic.
- Report each check as matches, does not match, material missing, or not actually run.
Pool reserves and comparable data¶
Liquidity-pool reserves (from the proof log) describe the BTC and tokens recorded in a market's pool. Virtual reserves are pricing parameters. The LP fee vault records liquidity providers' fees separately.
Compare the market's latest recorded reserves with its public API snapshot. Keep the market identity, log context, as_of and stale together to align the observation times. For an earlier record, report the reserve change across that trade.
The public market API and MCP provide the market-reserve fields used in this comparison. For a complete dataset at the same observation time, sum BTC reserves across markets and report token reserves by asset.
Version and record identity¶
These examples use AiBTC Verification Method v2. Identify a record by its network, log epoch, sequence and event hash, and keep the original proof and rule version together.
中文入口¶
从验证方法 v2和网站存证页开始,把提示词与某条记录复制出的完整材料一起交给 AI。
一笔交易,连同池子储备的变化,一起留下可验证的证明,交给你的 AI 独立复算。
先核原始字节和记录指纹,再核 Merkle 关系、批次清单及 Bitcoin 锚定;方法覆盖的成交,还可以用整数公式重算成交数量、手续费与储备变化。Bitcoin 锚定的是摘要承诺,完整成交 JSON 从公开日志取得。
用参考脚本核指纹和 Merkle 关系,再按核验步骤核对 Bitcoin 锚定与成交公式。对比当前储备时,取该市场最新一笔记录的期末数值,用公开接口返回的 as_of 和 stale 对齐观察时点。