{
  "x402Version": 2,
  "id": 4924,
  "slug": "4924",
  "resource": "https://x402.donnyautomation.com/v4hooks",
  "description": "Uniswap v4 hook capability scan on Base mainnet. Decodes all 14 permission bits from the hook address per v4-core Hooks.sol, flags swap custody, fee-taking and EIP-1967 upgradeability, and verifies source by Basescan/Sourcify/Blockscout consensus. Returns custodyClass PASSIVE|FLOW_CONTROL|FEE_TAKING|SWAP_CUSTODY|OPAQUE, flags[], riskFlags[] and verificationState. Requires ?address=0x + 40 hex. Errors: 400 invalid_address, 502 analysis_failed. Capability analysis - it never outputs SAFE.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2740651e046c59aB2A6510401140643292d3a96F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "address": "0x000052423c1dB6B7ff8641b85A7eEfc7B2791888"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "address": "0x000052423c1db6b7ff8641b85a7eefc7b2791888",
            "chainId": 8453,
            "custodyClass": "SWAP_CUSTODY",
            "deployed": true,
            "disclaimer": "Capability analysis of on-chain state. We classify what a hook CAN do; we never output SAFE.",
            "flags": [
              "beforeSwap",
              "afterSwap",
              "beforeSwapReturnDelta",
              "afterSwapReturnDelta"
            ],
            "network": "base",
            "riskFlags": [
              "SWAP_DELTA_CUSTODY"
            ],
            "upgradeable": false,
            "verificationState": "VERIFIED",
            "verified": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "address": {
                    "description": "Uniswap v4 hook contract address on Base mainnet (0x + 40 hex chars).",
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402.donnyautomation.com",
  "lastUpdated": "2026-09-17T03:33:54.089Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-17T03:33:53.819Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.donnyautomation.com",
    "manifest_name": "x402.donnyautomation.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}