Interface: WatchNewPoolsOptions
Options of Pools.watchNewPools.
Properties
| Property | Type | Description |
|---|
intervalMs? | number | Milliseconds between polls (default 30 000; a finite number of at least 1). |
minTvl? | number | Report only a pool whose tvlUsd is at least this (a pool without tvlUsd counts as 0). |
onError? | (error) => void | Told about a poll that failed and about an onPool that threw; polling goes on either way. |
tokens? | readonly string[] | Report only a pool with one of these symbols as token0 or token1. |
interval ms min tvl usd on error pool