Calculate APR for liquidity pools across multiple chains (Arbitrum, Base, Ethere...
Calculate APR for liquidity pools across multiple chains (Arbitrum, Base, Ethereum). Tokens do not necessarily need to be token0 and token1 respectively in the pool, they are reordered automatically. Price range must be specified based on the ratio of token0 / token1. For example, if the provided token0 is ETH and the provided token1 is USDC, a correct price lower could be 1000 and price upper could be 8000. Viceversa, if the provided token0 is USDC and token1 is ETH, a correct price lower could be 0.000125 and price upper could be 0.001.
Start with a quote-only recipe. Payment signing stays in your project.
const response = await fetch("https://nacian.finance/api/x402/pools/top-pools-by-apr", {
method: "GET",
});
console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));
// A valid 402 is a quote, not a completed paid call.This sends no payment. Inspect the 402 response before adding a wallet-enabled client.
- Exact route checked
non 402 · redirect-not-followed:cross-host-redirect
- Origin reachable
HEAD https://nacian.finance/ returned 301.
- Observed in cdp-bazaar
The registry record was observed and retained with provenance.
- Observed in 402-index
Discovered through bazaar.
- Registry record checked
Registry health: degraded.
EVIDENCE
Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call.