write_pool_redeem
Build an unsigned transaction to redeem Arcadia lending tranche shares, burning them to withdraw the corresponding underlying asset plus accrued interest for a specified owner and receiver.
Instructions
Build an unsigned redeem transaction to withdraw from an Arcadia lending tranche (ERC-4626). Burns tranche shares and returns the corresponding amount of underlying asset, including accrued interest. The owner must be the shares holder; receiver is where the underlying asset is sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Address that owns the tranche shares being burned. Normally the signer's own wallet. | |
| shares | Yes | Amount of tranche shares to burn, in raw units. To redeem everything, use the owner's full share balance. | |
| chain_id | No | Chain ID: 8453 (Base), 130 (Unichain), 10 (Optimism), or 4663 (Robinhood) | |
| receiver | Yes | Address that receives the underlying asset. Usually the owner's own wallet. | |
| tranche_address | Yes | Tranche contract address (ERC-4626 vault). Get this from read_pool_list: each pool's `tranches[0].address`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| transaction | Yes | ||
| predicted_account_address | No |