{"endpoint":"/api/chain/l2-finality","method":"POST","service_trust":"https://defi-shield-hazel.vercel.app/api/trust-signal","free_check":{"endpoint":"https://defi-shield-hazel.vercel.app/api/free/token-check","method":"POST","price":"FREE","note":"Try before you buy — free basic token safety check with risk math."},"also_available_on":{"virtuals_acp":{"agent":"Authensor","agent_id":18805,"offerings":["pre_trade_safety","token_deep_scan","wallet_report","batch_seal"],"marketplace":"https://app.virtuals.io/acp/scan/agents","note":"Same service, accessible to 18,000+ autonomous agents on Virtuals Protocol."},"mcp_server":{"package":"devsecure-mcp","install":"npx devsecure-mcp","tools":67,"note":"Install as MCP server in Claude, Cursor, or any MCP-compatible client for direct tool access."},"bazaar":"https://defi-shield-hazel.vercel.app/.well-known/x402","agent_card":"https://defi-shield-hazel.vercel.app/.well-known/agent-card.json"},"powered_by":"DeFi Shield by Authensor","price":"$0.10","description":"Returns detailed finality data for L2 chains and Ethereum L1. Includes rollup type, challenge period, block time, soft/hard finality times, data availability layer, sequencer info, and live block number (for Base). Covers: Base, Optimism, Arbitrum, zkSync Era, Polygon zkEVM, Scroll, Linea, StarkNet, Ethereum.","llm_usage_prompt":"Call this endpoint when you need to know how long to wait for transaction finality on a specific chain. Provide the chain name (e.g., 'base', 'arbitrum', 'optimism', 'zksync', 'scroll', 'linea', 'starknet', 'ethereum', 'polygon zkevm'). Defaults to 'base' if omitted. Returns: rollup type (Optimistic/ZK/L1), challenge period (7 days for optimistic, null for ZK), block time, soft finality (sequencer confirmation), hard finality (L1 proof/challenge), data availability layer, sequencer operator, latest block number (for Base), and liveness status. Use this to set user expectations on withdrawal times, choose chains based on settlement speed, or verify chain liveness before bridging. Costs $0.10 via x402.","params":{"chain":"(optional) string -- chain name, defaults to 'base' (e.g., 'arbitrum', 'zksync', 'scroll', 'ethereum')"},"exampleRequest":{"chain":"base"},"exampleResponse":{"chain":"Base","chain_id":8453,"rollup_type":"Optimistic Rollup (OP Stack)","challenge_period":"7 days","block_time":"~2s","soft_finality":"~2s (sequencer confirmation)","hard_finality":"7 days (challenge period)","data_availability":"Ethereum L1 (blobs via EIP-4844)","sequencer":"Coinbase (centralized sequencer)","latest_block":25834921,"is_live":true,"is_l2":true,"response_time_ms":180,"timestamp":"2026-03-06T12:00:00.000Z"}}