# LP Token Lock Share Target Gap Calculator

> LP Token Lock Share Target Gap Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Calculates the gap between an observed locked LP-token fraction and a specified target threshold, using supplied token observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-lp-lock-share-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lp-token-lock-share-target-gap-calculator-fcea6026
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EQFw7IZ1RhBohJ6KR0Ru4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lp-token-lock-share-target-gap-calculator-fcea6026 -d '<json body>'
```

Example prompt: Calculate the target gap for locked LP tokens where 800 out of 1000 total LP tokens are locked, and my target locked fraction is 90 — tell me how far off we are from hitting that target.

## When to prefer this

Choose this endpoint when you need a fast, deterministic calculation of the gap between an observed locked LP token fraction and a target threshold, using caller-supplied token data. Prefer this over live blockchain scanners when you already have the token observation data and want a lightweight, cheap ($0.01 USDC) computation without triggering a full on-chain scan or safety audit. Not suitable for real-time market data retrieval or trade recommendations.

## Known failure modes

- total_lp must be greater than 0 (exclusiveMinimum) — zero total supply causes division error
- locked_lp exceeding total_lp may produce unexpected fraction values
- target value outside the allowed range (-1e18 to 1e18) will be rejected
- missing required fields (total_lp or locked_lp) returns a validation error
- non-numeric inputs for numeric fields cause schema validation failure

## How this service works

Reported locked LP-token fraction — Target gap calculation: Target gap calculation for Reported locked LP-token fraction. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded target gap calculation report.

## Output

Returns a deterministic calculation report showing the locked LP token fraction derived from the supplied values and the numerical gap between that fraction and the specified target threshold. The result is a bounded computation output, not a live scan or safety guarantee.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "total_lp": 1000,
    "locked_lp": 800
   },
   "required": [
    "locked_lp",
    "total_lp"
   ],
   "properties": {
    "total_lp": {
     "type": "number",
     "default": 1000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "locked_lp": {
     "type": "number",
     "default": 800,
     "maximum": 10000000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lp-token-lock-share-target-gap-calculator-fcea6026/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
