defi.halowerk.com/pool/liquidity
Resolves a pool either by address or by chain, token pair and DEX, then reads token0, token1, fee tier, reserves, in-range liquidity and the current tick straight from the contract. Exit impact is not estimated from a formula but simulated: for Uniswap V3 through the official Quoter contract via eth_call, which walks the same ticks a real swap would and reports how many it crossed; for constant-pr
POST
https://defi.halowerk.com/pool/liquidityUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://defi.halowerk.com/pool/liquidity", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chain":"base","dex":"uniswap-v3","fee_tier_ppm":500,"token_a":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","token_b":"0x4200000000000000000000000000000000000006"}),
});
console.log(await res.json());Example input
{
"chain": "base",
"dex": "uniswap-v3",
"fee_tier_ppm": 500,
"token_a": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"token_b": "0x4200000000000000000000000000000000000006"
}More from HALOWERK defiwerk
- defi.halowerk.com/bridge/quoteFetches live offers from a public bridge aggregator and reports for every option what arrives, what it costs in fees and gas, and how long it usually takes. The security model is given equal weight to the price: bridges are the most expensive failures this industry has, so trust_assumptions spells out who a user has to trust for that route to hold. No recommendation is forced - three best values b0.008
- defi.halowerk.com/dex/quoteFor a given chain, token pair and input amount, every connected DEX is queried through its own contracts: Uniswap V3 through the Quoter via eth_call across all fee tiers, constant-product pools through the pool maths on live reserves, Solidly-style pools through their own getAmountOut. Two-hop routes through the wrapped native token and the chain USDC are included, priced by chaining the hops exac0.005
- defi.halowerk.com/mev/riskTakes chain, token pair, input amount and slippage tolerance, finds the pool the trade would most likely use and reads its live state. The maximum the caller can lose is arithmetic and exact: the gap between the quoted output and the minimum output their own tolerance permits. The attacker profit is an estimate and labelled as one — the profit-maximising front-run size is searched for inside a con0.006
- defi.halowerk.com/yield/normalizeResolves a pool in a public yield directory by chain, protocol and pool id or symbol, then rebuilds the number a buyer actually needs. Advertised total APY and a conservative APY are reported separately: the conservative figure uses the trailing seven-day realised base yield and deliberately excludes token emissions, because emissions are only worth what the reward token is worth. Every reward tok0.006
