write.pool.deposit
Build an unsigned transaction to deposit assets into an Arcadia lending tranche, receiving interest-bearing shares in return. Requires prior token approval.
Instructions
Build an unsigned deposit transaction into an Arcadia lending tranche (ERC-4626). Lenders deposit the pool's underlying asset (USDC/WETH/cbBTC) and receive tranche shares that accrue interest from borrowers. Requires prior ERC-20 approval to the tranche (see write.wallet.approve). To check current lender yield, call read.pool.list or read.pool.info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | Yes | Amount of underlying asset to deposit, in raw units (e.g. '1000000' = 1 USDC since USDC has 6 decimals). | |
| chain_id | No | Chain ID: 8453 (Base), 130 (Unichain), or 10 (Optimism) | |
| receiver | Yes | Address that receives the minted tranche shares. Usually the depositor'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 |