fluid_build_vault_t4_operate
Build an unsigned transaction to interact with a Fluid Vault T4, adjusting dual-asset collateral and debt with slippage protection.
Instructions
Build an unsigned transaction to interact with a Vault T4 (dual-asset collateral, dual-asset debt).
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) | |
| rpc_url | No | ||
| receiver | Yes | Address to receive withdrawn collateral or borrowed tokens | |
| vault_address | Yes | Vault T4 contract address | |
| col_shares_max | Yes | Maximum collateral shares (slippage protection) | |
| col_shares_min | Yes | Minimum collateral shares (slippage protection) | |
| new_col_token0 | Yes | Token0 collateral amount in raw units | |
| new_col_token1 | Yes | Token1 collateral amount in raw units | |
| debt_shares_max | Yes | Maximum debt shares (slippage protection) | |
| debt_shares_min | Yes | Minimum debt shares (slippage protection) | |
| new_debt_token0 | Yes | Token0 debt change in raw units | |
| new_debt_token1 | Yes | Token1 debt change in raw units |