Tailflow
Skip to article
Browse documentation

Triggers

Uniswap Swap

Explore swaps across v2, v3, and v4 pools.

Availability

This source supports previews and flow design, but does not execute automatically in this version.

Select pools

Choose Uniswap Swap and up to three pools across your selected chains. The picker combines v2, v3, and v4; check the version and pair before selecting. v4 pools use a pool ID rather than a pool contract address.

Use the version filter if you want only one Uniswap version. A pool selection watches that pool’s swaps, not every trade involving either token.

If liquidity moves to a different pool or version, update the selected pool. Combining versions in one picker does not automatically follow a pool migration.

Uniswap Swap Trigger Configuration
1Event source
Uniswap Swap
2Filters
Edit the conditions to explore the controls. Event samples stay fixed.
Preview only · automatic execution is not available yet
3Trigger
Chains
1 selected · 3 of 7 chains shown
Example. Select the pool and inspect its version before adding a size filter. This source currently supports previews only.Changes stay in this example. Nothing is saved or sent.

Understand the amounts

token_in and token_out describe swap direction; amount_in and amount_out are the corresponding positive amounts. Price is token1 per token0, and price_inverse expresses the opposite direction.

USD value and fee information may be unavailable. Inspect a concrete example before choosing filter units or writing a price message. Do not describe a swap’s execution price as a market-wide token price.

Swap Event Fields and Amount Filter
Event shape
token_in
USDC
amount_in
2500
token_out
WETH
amount_out
1
Filters
Check the actual example for a USD estimate. A missing estimate is not zero.
Example. Select a swap example to check both assets and positive input/output amounts before using them in a filter or message.Changes stay in this example. Nothing is saved or sent.