fast-trade sends one event per trade for a token, a pool, or a token inside one pool. It is the lightest channel: events carry only the trade, with no extra lookups, so they are delivered as soon as the block is processed.
Weight: 1 per subscription. See Subscription weight.
Parameters
Sending neither
token nor pool fails with:
Which trades you receive
Every event is oriented to one token:data.token is the token the trade is described from, and data.tokenVs is the other side of the pool. Amounts, prices and type (buy or sell) are all from the point of view of data.token.
Each swap has a base token and a quote token. The quote is the side that prices the other: a stablecoin, the chain’s native or wrapped-native token, or another recognised quote asset. In a MEME/WETH pool, MEME is the base and WETH is the quote.
The quote-token rule
Atoken-only subscription matches a trade when the token is the trade’s base token, or when it is the quote token but the quote is not a recognised quote asset.
In practice, subscribing to a quote asset such as WETH or USDC by token gives you only trades where that asset is the base, for example WETH in a WETH/USDC pool. You do not receive every MEME/WETH trade on the chain. That keeps a WETH subscription about WETH’s own price, not every token priced in WETH.
To follow a quote asset in a specific pool anyway, send both token and pool. That combination is matched by pool, so the quote-token rule doesn’t apply.
Excluding noise
WithexcludeNoise: true, a trade is dropped when any of these is true. “Followed token” means token if you sent it, otherwise the pool’s base token.
- The trade’s USD value is $0.10 or less.
- The followed token’s USD price is not a finite number, or is above
3.4e30, or below1e-16. - The followed token trades in more than one pool, and the trade’s USD value is $100 or less.
token, it is looked up before subscribed is sent. For pool-only subscriptions it is looked up on the first trade, so the first few trades may be filtered as if the token had a single pool.
Event data
data is a trade event:
Address of the token the trade is viewed from, lowercase. All
token* fields describe this token and all *Vs fields describe the other side.Price of
token in the chain’s native coin (for example ETH): tokenPrice divided by the native coin’s USD price at the time of the trade. 0 when the native price is unknown.Direction from the point of view of
token. buy: token left the pool (the trader received token). sell: token entered the pool (the trader gave up token).Gas fee for this trade in USD: the transaction’s gas cost, split evenly across the swaps in that transaction.
null when unknown.Example
Follow a token on Base, without noise:cursor on subscribed or on events.
Related
- Large trade alerts guide
GET /tradesfor trade history with the same fields- Cursors and resuming