Build a collect-fees transaction
build_collectBuilds an unsigned transaction to collect all uncollected fees from a Uniswap v3 position and send them to a specified recipient. Optionally simulates with eth_call.
Instructions
Build an UNSIGNED tx that collects all uncollected fees from a Uniswap v3 position to recipient. Returns tx={to,data,value,chainId} plus rlp (the unsigned EIP-1559 serialization for signing services). Set simulate=false to skip the eth_call dry-run (on by default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | ||
| simulate | No | ||
| recipient | Yes | ||
| positionId | Yes |