fluid_build_vault_t1_operate
Build an unsigned transaction to manage a Fluid Vault T1 position: adjust collateral, borrow or repay debt, or open/close on supported blockchains.
Instructions
Build an unsigned transaction to interact with a Vault T1 (single-asset collateral, single-asset debt). T1 operate function is payable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Blockchain network. Supported: ethereum, arbitrum, base, polygon, plasma | |
| nft_id | Yes | Position NFT ID (0 to open new position) | |
| new_col | Yes | Collateral change in raw units (negative to withdraw, use INT256_MIN to close) | |
| rpc_url | No | ||
| new_debt | Yes | Debt change in raw units (negative to repay, use INT256_MIN to close) | |
| receiver | Yes | Address to receive withdrawn collateral or borrowed tokens | |
| vault_address | Yes | Vault T1 contract address |