Resolves a pool either by address or by chain, token pair and DEX, then reads to
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-product and Solidly pools through the pool maths or the pool own getAmountOut. Nothing is ever execute
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://defi.halowerk.com/pool/liquidity
| Category | Code and developer |
|---|---|
| Provider host | defi.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"chain": "base",
"dex": "uniswap-v3",
"fee_tier_ppm": 500,
"token_a": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"token_b": "0x4200000000000000000000000000000000000006"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"chain": {
"enum": [
"base",
"ethereum",
"arbitrum",
"optimism",
"polygon"
],
"type": "string"
},
"dex": {
"description": "DEX id, required together with token_a and token_b.",
"type": "string"
},
"fee_tier_ppm": {
"description": "Optional fee tier in parts per million for Uniswap V3. Omitted means the deepest tier.",
"enum": [
100,
500,
3000,
10000
],
"type": "integer"
},
"pool": {
"description": "Pool address. Either this or token_a plus token_b plus dex.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"token_a": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"token_b": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"chain"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}