Skip to content
Fourohtwo

kette.halowerk.com/v1/pool-range-budget-capacity

Liquidity budget capacity gives the largest whole liquidity position fundable by both token budgets and its leftovers. Use it when an agent needs sizing a mint with integer rounding.

BaseAnswering
POSThttps://kette.halowerk.com/v1/pool-range-budget-capacity

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://kette.halowerk.com/v1/pool-range-budget-capacity", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"budget0":"424830953929","budget1":"254979280562743177694","high":"1950673751061302712224234473046693","low":"1912046548069989787229695176550718","sqrt":"1931360149565646249726964824798706"}),
});
console.log(await res.json());

Example input

{
  "budget0": "424830953929",
  "budget1": "254979280562743177694",
  "high": "1950673751061302712224234473046693",
  "low": "1912046548069989787229695176550718",
  "sqrt": "1931360149565646249726964824798706"
}

More from HALOWERK kettenwerkProvider status