$ man lp-lock-check
/lp-lock-check
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarketCATEGORY
uncategorized
STATUS
● live
NAME
lp-lock-check — checks whether an lp token's liquidity is locked, useful for detecting rug-pull risk before swapping into a new pair
SYNOPSIS
POST https://x402.agentutility.ai/lp-lock-check
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Checks whether an LP token's liquidity is locked, useful for detecting rug-pull risk before swapping into a new pair. For any LP token (Uniswap V2-shaped) on Ethereum or Base, reports the % of supply held by the canonical LP-locker contracts (Unicrypt v2, Team Finance) plus burn addresses (0x0, 0xdead). Returns a verdict of locked (≥95%), partial (1-95%), or none. Use it as an LP lock check or liquidity-lock auditor with Unicrypt + Team Finance + burn-address detection.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| lp_token_address | string | 0x-prefixed 20-byte LP token (Uniswap V2 pair) address. | required |
| chain | string | EVM chain. Default 'base'. enum: base · ethereum · polygon · arbitrum · optimism | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| lp_token | string | LP token contract address that was audited. |
| chain | string | Chain the LP token lives on (ethereum or base). |
| total_supply | string | Total supply of the LP token, as a decimal string. |
| lockers | string | Per-locker breakdown showing balances held by Unicrypt v2, Team Finance, and burn addresses. |
| total_locked_pct | string | Combined percentage of LP supply held across all lockers and burn addresses. |
| status | string | Verdict bucket: locked (>=95%), partial (1-95%), or none (<1%). |
| source | string | On-chain contract calls used to compute the balances (no third-party API). |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/lp-lock-check \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the lp-lock-check tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- edge-marketdefiliquidity-lockrug-pull-detectionunicryptteam-financeuniswap-v2lp-lock-check
- methods
- POST
- cluster
- edgemarket
- price
- $0.01 USDC per call
ADJACENT — other endpoints in edgemarket
| endpoint | description | price |
|---|---|---|
| contract-source | Returns verified source code and ABI for any deployed contract on Ethereum, Base, Optimism, Arbitrum, or Polygon. | $0.01 |
| contract-source-verified | Fetches verified contract source code and ABI for a deployed contract on Ethereum, Optimism, Polygon, Base, or Arbitrum. | $0.01 |
| dex-liquidity-depth | Measures DEX liquidity depth by summing TVL across every DefiLlama-tracked yield pool holding a given ERC-20 on Ethereum, Base, Polygon,… | $0.01 |
| eth-logs | Reads on-chain event logs with generic eth_getLogs queries across Base, Ethereum, Arbitrum, Optimism, Polygon, and BSC via public no-auth… | $0.01 |
| nft-floor | Gets an NFT collection's floor price and recent sales via Reservoir. | $0.01 |
| agent-card-resolve | Resolves an ERC-8004 agentId to its on-chain owner, agentURI, and agent card JSON. | $0.005 |
| arbitrage-spread | Finds the cross-exchange arbitrage spread for any CoinGecko-listed coin. | $0.005 |
| basename-resolve | Resolves Coinbase Basenames (.base.eth) to Ethereum addresses and back, reading the Base mainnet L2 Resolver on-chain (no gas, no wallet). | $0.005 |
SEE ALSO