adjust_sp_account
Deposit to or withdraw from an existing stability pool account on Cardano's Indigo Protocol. Generates an unsigned transaction for user signing to manage iAsset positions.
Instructions
Deposit to or withdraw from an existing stability pool account. Positive amount deposits, negative withdraws. Returns an unsigned transaction (CBOR hex) for client-side signing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | User Cardano bech32 address | |
| asset | Yes | iAsset of the stability pool (iUSD, iBTC, iETH, or iSOL) | |
| amount | Yes | Amount to adjust (positive = deposit, negative = withdraw, in smallest unit) | |
| accountTxHash | Yes | Transaction hash of the account UTxO | |
| accountOutputIndex | Yes | Output index of the account UTxO |