Private swap
blackpool_swapPerforms private same-chain swaps between native and stablecoin pools, re-shielding output. Use recovery if the operation stops halfway.
Instructions
Private same-chain swap between the native pool and the stablecoin pool; output is re-shielded. If it stops half-way, run blackpool_recover.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Pool to swap from (eth|usdc on base/arbitrum, eth|usdg on robinhood, bnb|usdt on bsc). | |
| chain | No | Chain. Default base. | |
| amount | Yes | Decimal amount in token units, e.g. "10" or "0.25", or "max" (send: the whole pool balance; swap/bridge: the most one operation can move). Never wei. | |
| slippage_bps | No |