Build claim
build_claimBuild the steps that claim rewards. Pass rewards exactly as quote_claim returned them. 'compound' requires slippage. Returns UNSIGNED transaction steps for the owner to sign in order; this server never holds keys or sends transactions. The build expires after 180 seconds (expiresAt, unix ms): build immediately before signing, not as a plan for later. Builds are single-use: rebuilding an open predicts a different position address, so never replay one. A successful build does not guarantee a successful transaction: pass steps to simulate and check ok before asking anyone to sign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| owner | Yes | EOA that owns the position and signs the steps. The smart account is derived from it server-side. | |
| chainId | Yes | EVM chain id | |
| rewards | Yes | ||
| slippage | No | Slippage tolerance as a decimal: 0.005 means 0.5% (not 1e18 fixed-point) | |
| strategyId | Yes | Strategy id from list_strategies (`strategyId`) | |
| positionAddress | Yes | Position (vault) address |