sap adrena build remove liquidity
sap_adrena_build_remove_liquidityBuild an unsigned transaction to remove liquidity from an Adrena pool. Burns LP tokens and receives collateral. Returns transactionBase64 only after builder-side RPC simulation passes. Show approval only when safeToApprove=true and approvalBlocked=false; otherwise do not call finalize.
SAP MCP execution guidance: Intent: hosted unsigned transaction builder. Pricing: paid builder; estimate first, then pay/build and finalize unsigned transactions locally when returned. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Liquidity provider wallet public key (base58). | |
| poolName | No | Pool to remove liquidity from. | |
| lpAmountIn | Yes | LP tokens to burn (raw, 6 decimals). | |
| minAmountOut | No | Minimum collateral to receive (raw). 0 for no slippage protection. | |
| collateralToken | Yes | Collateral token to receive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |