strale_web3_assurance
Returns a decision-ready answer about an on-chain counterparty (wallet, smart contract, token, DeFi protocol, or bridge) in a single call. Surfaces verdict (proceed/review/block/insufficient_evidence), reason_codes (machine-parsable UPPERCASE_SNAKE_CASE), critical_flags, suggested_action, evidence map (sanctions, mixer-graded, scam-cluster, wallet-history, token-safety, contract-verification, protocol-risk, EAS attestations, ERC-8004 reputation, more), and a sidecar audit_url. Two modes: 'outbound' (agent vetting recipient pre-payment, full evaluator set, 8s budget) or 'reverse-call' (service publisher gating an inbound x402 buyer in real-time, critical evaluators only, sub-second SLA). Use before any agent transacts on-chain — sending value, swapping, staking, minting, bridging, or interacting with a contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default 'outbound' (agent → recipient, 8s budget, all evidence). Use 'reverse-call' when you are an x402 service publisher gating an inbound buyer (critical evidence only, sub-second SLA). | |
| chain | No | Chain. EVM: 'ethereum' (default), 'base', 'polygon', 'arbitrum', 'optimism', 'bsc'. Or 'solana'. | |
| action | No | Optional intended action. When provided, enables pre-trade simulation (outbound mode) and tunes verdict severity. | |
| target | Yes | On-chain target. EVM wallet/contract/token (0x...), Solana address, or DeFi protocol slug (e.g. 'aave', 'uniswap-v3'). | |
| agent_id | No | Optional ERC-8004 agent identifier for the calling agent. | |
| amount_usd | No | Optional amount in USD. Sharpens verdict for high-value flows. | |
| target_type | No | Target kind. Inferred when omitted: 0x... → wallet (default), .eth/.sol → wallet, slug → protocol. | |
| caller_jurisdiction | No | Optional ISO country code for jurisdiction-aware verdict (US, EU, UK, etc.). |