How to Verify Any Smart Contract or AI Agent Before You Transact

Published: (February 26, 2026 at 11:32 PM EST)
3 min read
Source: Dev.to

Source: Dev.to

What Maiat Does

Maiat aggregates three data sources to produce a trust score (0–100):

  • On‑chain analytics – contract age, transaction volume, deployer history, verified source code
  • Community reviews – structured ratings from users who have interacted with the protocol
  • Outcome reports – verified post‑transaction reports (success / failed / dispute)

The resulting verdict is:

  • proceed – score above the default threshold (60)
  • ⚠️ caution – borderline, proceed carefully
  • 🚫 block – high‑risk, avoid

API Usage

Maiat exposes a public REST API.

# Free tier – up to 10 requests per minute
GET https://maiat-protocol.vercel.app/api/v1/score/0xYourAddress
# Trust‑gate verdict (proceed / caution / block)
GET https://maiat-protocol.vercel.app/api/v1/trust-check?agent=0xYourAddress
# x402 payment‑gated endpoint (for AI agents, $0.02 USDC per call)
GET https://maiat-protocol.vercel.app/api/v1/trust-gate?agent=0xYourAddress

The trust-gate endpoint implements the x402 payment protocol, allowing AI agents using Coinbase’s AgentKit or awal to autonomously pay for and consume trust data without human intervention.

Why This Matters for AI Agents

In 2026, AI agents transact on‑chain autonomously. An agent executing a swap or deploying capital needs to verify its counter‑party the same way a human would check a contract on Etherscan — but programmatically.

Maiat is designed for this pattern:

// Before any agent‑to‑agent transaction
const verdict = await fetch(
  `https://maiat-protocol.vercel.app/api/v1/trust-check?agent=${counterpartyAddress}`,
  { headers: { 'X-Maiat-Key': 'mk_...' } }
).then(r => r.json());

if (verdict.verdict === 'block') {
  throw new Error('Counterparty flagged as high‑risk by Maiat Protocol');
}

How Trust Scores Are Calculated

SignalWeightNotes
Contract verified on EtherscanHighUnverified source = immediate caution
Deployer wallet ageMediumFresh wallets = higher risk
Transaction count (90 d)MediumLow activity = less data
Community review scoreHighWeighted by reviewer reputation
Outcome dispute rateHigh% of transactions that ended in dispute

Use Cases

  • Pre‑swap trust gate – verify a protocol before routing a swap through it
  • AI agent onboarding – screen new agents before allowing them to join a multi‑agent workflow
  • DeFi due diligence – research any protocol before depositing funds
  • Smart‑contract auditing supplement – community signal alongside formal audits
  • Live app:
  • GitHub:
  • x402 ecosystem: Listed on under Services/Endpoints

Maiat Protocol is built on Base. Trust scores are computed in real‑time using on‑chain data plus Prisma‑backed community reviews. No API key is required for the free tier.

0 views
Back to Blog

Related posts

Read more »