youraitools-api / tree / public/aiax/sections/counterpartycheck.json ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
{
 "aiax_version": "0.1",
 "section_id": "counterpartycheck",
 "purpose": "CounterpartyCheck: Counterparty due-diligence report: everything in lite plus contract verification and deployer screening (Sourcify), ENS and Basename (forward-verified), cross-chain presence (wrong-chain protection for smart wallets and Safes), Safe owner and contract owner screening and explorer labels. Verdict ok / caution / block with reasons and confidence.",
 "inputs": {
  "type": "object",
  "properties": {
   "address": {
    "type": "string",
    "description": "Counterparty address: EVM 0x + 40 hex, or a Solana base58 address"
   },
   "chain": {
    "type": "string",
    "enum": [
     "base",
     "ethereum",
     "polygon",
     "arbitrum",
     "solana"
    ],
    "description": "Chain of the payment (default base; a base58 address implies solana)"
   },
   "intent": {
    "type": "string",
    "enum": [
     "pay",
     "approve",
     "interact"
    ],
    "description": "What you are about to do (default pay): changes which signals matter, e.g. paying a token contract or approving an EOA"
   }
  },
  "required": [
   "address"
  ]
 },
 "outputs": {
  "type": "object",
  "properties": {
   "address": {
    "type": "string"
   },
   "chain": {
    "type": "string"
   },
   "intent": {
    "type": "string"
   },
   "tier": {
    "type": "string"
   },
   "verdict": {
    "type": "string"
   },
   "confidence": {
    "type": "string"
   },
   "summary": {
    "type": "string"
   },
   "reasons": {
    "type": "array",
    "items": {
     "type": "object",
     "properties": {
      "severity": {
       "type": "string"
      },
      "code": {
       "type": "string"
      },
      "text": {
       "type": "string"
      }
     }
    }
   },
   "facts": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "nonce": {
      "type": "integer"
     },
     "delegate": {
      "type": "string"
     }
    }
   },
   "checks": {
    "type": "object",
    "properties": {
     "identity": {
      "type": "object",
      "properties": {
       "ens": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string"
         },
         "verified": {
          "type": "boolean"
         }
        }
       }
      }
     },
     "cross_chain": {
      "type": "object",
      "properties": {
       "base": {
        "type": "object",
        "properties": {
         "kind": {
          "type": "string"
         },
         "nonce": {
          "type": "integer"
         }
        }
       }
      }
     }
    }
   }
  }
 },
 "pricing": {
  "model": "per_call",
  "amount": "0.015",
  "currency": "USDC",
  "rail": "x402"
 },
 "examples": [
  {
   "description": "GET /counterpartycheck/v1/quick, paid over x402 (USDC on Base); an unpaid call answers 402 with the terms.",
   "request": {
    "method": "GET",
    "url": "https://api.youraitools.co/counterpartycheck/v1/quick",
    "query": {
     "address": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F",
     "chain": "base",
     "intent": "pay"
    }
   },
   "response": {
    "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "chain": "ethereum",
    "intent": "pay",
    "tier": "quick",
    "verdict": "ok",
    "confidence": "high",
    "summary": "OK: no risk signal found for this eip7702 delegated eoa on Ethereum (verified, ens).",
    "reasons": [
     {
      "severity": "info",
      "code": "eip7702",
      "text": "EOA with an EIP-7702 delegation to 0x5a7fc11397e9a8ad41bf10bf13f22b0a63f96f6d: its code is the delegate contract."
     },
     {
      "severity": "good",
      "code": "verified",
      "text": "Delegate contract source verified on Sourcify."
     },
     {
      "severity": "good",
      "code": "ens",
      "text": "ENS name vitalik.eth (reverse record, forward-verified)."
     }
    ],
    "facts": {
     "kind": "eip7702_delegated_eoa",
     "nonce": 5969,
     "delegate": "0x5a7fc11397e9a8ad41bf10bf13f22b0a63f96f6d"
    },
    "checks": {
     "identity": {
      "ens": {
       "name": "vitalik.eth",
       "verified": true
      }
     },
     "cross_chain": {
      "base": {
       "kind": "eoa",
       "nonce": 0
      }
     }
    }
   }
  }
 ],
 "pact_mandate_template": null,
 "extensions": {
  "youraitools": {
   "endpoint": "https://api.youraitools.co/counterpartycheck/v1/quick",
   "network": "eip155:8453",
   "x402_versions": [
    2,
    1
   ],
   "mcp": "https://api.youraitools.co/counterpartycheck/mcp",
   "openapi": "https://api.youraitools.co/counterpartycheck/openapi.json"
  }
 }
}

agentgate-source: code mirror on Cloudflare Pages. All repos