{"uid":"cap_VQKOP6ld_3J_z2t0OXe51","slug":"hookwatch-uniswap-v4-hook-watch-2af87567","name":"HOOKWATCH - Uniswap v4 Hook Watch","description":"Uniswap v4 hook intelligence for Base. Paid endpoints use the x402 exact scheme with USDC. Reports are observations of public on-chain data and are NOT security audits.","url":"https://hookwatch.bradleyswartz317.workers.dev/v1/v4/watch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"days":{"type":"integer","default":7,"maximum":90,"minimum":1,"description":"Monitoring length in days."},"pool_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Optional pool id to attribute the hook to."},"chain_id":{"enum":[8453],"type":"integer","default":8453,"description":"8453 for Base mainnet, 84532 for Base Sepolia."},"hook_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"The v4 hook contract address."}}},"responseSchema":{"type":"json","example":{"ok":true,"product":"watch_7d","baseline":{"bytecode_hash":"0x8f14","permission_mask":"0x10c0"},"chain_id":8453,"watch_id":"w_abc123","expires_at":"2026-11-10T00:00:00.000Z","hook_address":"0x0469a4bd3724dc86c9542f4694c976da13c450c0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e85L8ysiur5o4U1RJDQi7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Monitors and reports on-chain intelligence for a specified Uniswap v4 hook contract on Base, including bytecode hash, permission mask, and pool attribution over a configurable time window.","exampleAgentPrompt":"Can you start a 7-day watch on the Uniswap v4 hook at address 0x0469a4bd3724dc86c9542f4694c976da13c450c0 on Base mainnet and get me the bytecode hash and permission mask for it?","exampleUseCases":[{"title":"Due diligence on new v4 hook","prompt":"I'm considering adding liquidity to a Uniswap v4 pool on Base — can you run a 14-day watch on the hook at 0x0469a4bd3724dc86c9542f4694c976da13c450c0 and tell me what permissions it has and what bytecode hash it uses?"},{"title":"Pool-attributed hook monitoring","prompt":"Watch the Uniswap v4 hook at 0x0469a4bd3724dc86c9542f4694c976da13c450c0 on Base mainnet for the next 30 days and attribute it to pool 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab so I can track on-chain activity tied to that pool."},{"title":"Quick hook permission check","prompt":"Run a 1-day HOOKWATCH report on the v4 hook contract 0x0469a4bd3724dc86c9542f4694c976da13c450c0 on Base — I just need to see the permission mask quickly."}],"resultDescription":"Returns a JSON object with a watch_id, the hook_address monitored, the chain_id (Base mainnet = 8453), a product label indicating the watch duration (e.g. watch_7d), baseline data including bytecode_hash and permission_mask of the hook, and an expires_at timestamp indicating when the watch period ends.","failureModes":["Invalid hook_address format (not matching ^0x[0-9a-fA-F]{40}$) returns a validation error","Invalid pool_id format (not matching ^0x[0-9a-fA-F]{64}$) returns a validation error","Unsupported chain_id (only 8453 is listed in the enum) returns an error","Payment not completed or insufficient USDC balance causes x402 payment failure","Hook address does not exist on-chain may result in empty or null baseline data","Days parameter out of range (below 1 or above 90) returns a validation error"],"whenToPreferThis":"Use this endpoint when you need on-chain intelligence about a specific Uniswap v4 hook contract on Base mainnet, particularly its bytecode hash and permission mask over a defined monitoring period. Prefer this over generic block explorers or Uniswap analytics dashboards when you need structured, programmatic access to hook-level metadata and pool attribution for DeFi research, risk assessment, or integration due diligence. Note: this is not a security audit and reports only publicly observable on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:32:49.519Z","isFirstParty":false,"canonicalSlug":"hookwatch-uniswap-v4-hook-watch-2af87567"}