Skip to content
onelayer.
All tools

Tool detail

DEX Data & Agent Utilities

Decodes a Uniswap v4 hook contract's permission bits on Base and returns its custody class, risk flags and source-verification state.

Categories: Crypto risk, Defi

Use when

  • check whether a Uniswap v4 hook can take custody of swap funds
  • screen a v4 pool's hook for upgradeability or fee-taking risk before trading it

Not for

  • not a safety certification — never outputs SAFE, capability analysis only
  • not for hooks outside Base mainnet

Inputs

GET query param: address (string, required — 0x + 40 hex Base mainnet hook address)

Admitted input schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Uniswap v4 hook contract address on Base mainnet (0x + 40 hex chars)."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://x402.donnyautomation.com/v4hooks

Payment

Protocol
x402
Listed price
0.01 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://x402.donnyautomation.com/v4hooks
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z