write.account.stake
Stake, unstake, or claim rewards for Uniswap/Aerodrome LP positions in one atomic transaction. Manage concentrated liquidity positions with built-in leverage and yield optimization.
Instructions
Flash-action: stake, unstake, or claim rewards for an LP position in one atomic transaction. Use the action parameter to select the operation. asset_address is the position manager contract — pass the non-staked PM address when staking, or the staked PM address when unstaking. The returned calldata is time-sensitive — sign and broadcast within 30 seconds. If the transaction reverts due to price movement, rebuild and sign again immediately (retry at least once before giving up). Tenderly simulation may not be available for this endpoint — verify the position exists with read.account.info before signing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_address | Yes | Arcadia account address | |
| action | Yes | Action to perform | |
| asset_address | Yes | Position manager contract address | |
| asset_id | Yes | NFT token ID of the LP position | |
| chain_id | No | Chain ID: 8453 (Base) or 130 (Unichain) |