{"uid":"cap_J-WP6yiQ2VrfwLrixXXy9","slug":"hookwatch-uniswap-v4-hook-intelligence-hook-check-6ad23e75","name":"HOOKWATCH - Uniswap v4 Hook Intelligence (hook-check)","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/hook-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"product":"quick_check","chain_id":8453,"permissions":{"afterSwap":true,"beforeSwap":true,"afterInitialize":true},"block_number":53443202,"hook_address":"0x0469a4bd3724dc86c9542f4694c976da13c450c0","bytecode_hash":"0x8f14e45fceea167a5a36dedd4bea2543","permission_mask":"0x10c0","permission_count":3,"hook_address_valid":true,"permission_summary":"afterInitialize, beforeSwap, afterSwap"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_81d2DhiR3i7fj4VrsJv5H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a Uniswap v4 hook contract address on Base, returning its permission mask, enabled hook callbacks, bytecode hash, and address validity.","exampleAgentPrompt":"Can you check the Uniswap v4 hook at address 0x0469a4bd3724dc86c9542f4694c976da13c450c0 on Base and tell me which permission callbacks it has enabled — like beforeSwap, afterSwap, etc.?","exampleUseCases":[{"title":"Verify hook permissions before pool interaction","prompt":"Before I add liquidity to this Uniswap v4 pool on Base, can you check the hook at 0x0469a4bd3724dc86c9542f4694c976da13c450c0 and tell me exactly which lifecycle callbacks it has enabled, like afterSwap or beforeInitialize?"},{"title":"Validate hook address legitimacy","prompt":"Is this Uniswap v4 hook address 0x1234abcd5678ef901234abcd5678ef901234abcd actually valid for use on Base? Check if the address encodes a legitimate permission mask."},{"title":"Research hook capabilities for DeFi integration","prompt":"I'm building an integration with a Uniswap v4 pool on Base — can you look up the hook at 0x0469a4bd3724dc86c9542f4694c976da13c450c0 and give me a summary of its permission count, permission mask, and which specific hook callbacks it implements?"}],"resultDescription":"Returns a JSON object with the hook address, its validity, the hex permission mask, a human-readable permission summary listing enabled callbacks (e.g. afterInitialize, beforeSwap, afterSwap), the number of permissions, the bytecode hash of the contract, and the block number at which the check was performed — all scoped to Base (chain ID 8453).","failureModes":["Invalid or non-existent hook address returns hook_address_valid: false","Hook contract not deployed on Base returns an error or empty bytecode hash","Malformed address input (not a valid EVM address) returns a 400-level error","x402 payment failure or insufficient USDC balance results in payment rejection before the query executes","Rate limiting or worker downtime may return 5xx errors"],"whenToPreferThis":"Use this endpoint when you need on-chain, real-time intelligence about a specific Uniswap v4 hook deployed on Base — especially to decode its permission mask, enumerate its enabled callbacks, or verify address validity. Prefer this over manual ABI decoding or block explorers when you need a structured, machine-readable response. Note: this is an observation of public on-chain data, not a security audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:31:26.688Z","isFirstParty":false,"canonicalSlug":"hookwatch-uniswap-v4-hook-intelligence-hook-check-6ad23e75"}