build_add_liquidity
Create an unsigned transaction to add liquidity to a token pair on the Casper Network DEX, specifying token amounts and slippage parameters.
Instructions
Build an unsigned add-liquidity transaction for a token pair
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_a | Yes | First token: symbol, name, or hash | |
| token_b | Yes | Second token: symbol, name, or hash | |
| amount_a | Yes | Human-readable amount of first token | |
| amount_b | Yes | Human-readable amount of second token | |
| slippage_bps | No | Slippage in basis points (default 300) | |
| deadline_minutes | No | Deadline in minutes (default 20) | |
| sender_public_key | Yes | Sender hex public key | |
| token_a_balance | No | Raw token A balance for one-time approval | |
| token_b_balance | No | Raw token B balance for one-time approval |