Skip to content
Fourohtwo

Boundary distance data grain

aeroacepilot.xyz/v1/grains/range/boundary-distance

Boundary distance data grain: for a caller-supplied tick range on one Aerodrome Slipstream pool on Base, the tick and price-% distance from the latest pinned spot tick to each boundary and whether spot is inside. Point fact from the hourly cache with block reference and answer_sha256; not a forecast, not advice. Invalid or unaligned ticks return 400 before payment.

BaseAnswering
GEThttps://aeroacepilot.xyz/v1/grains/range/boundary-distance

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://aeroacepilot.xyz/v1/grains/range/boundary-distance?pool=0x03bf20662f76312aec31ef28d4a024e1eca108af&tick_lower=-887272&tick_upper=887272");
console.log(await res.json());

Example input

{
  "pool": "0x03bf20662f76312aec31ef28d4a024e1eca108af",
  "tick_lower": "-887272",
  "tick_upper": "887272"
}

More from AcePilotProvider status