Boros (Actions)
Pendle Boros funding-rate swaps (Arbitrum): margin, long/short YU, close, and the funding-income hedge. EOA-direct.
Deposit margin
Deposit collateral into the wallet's Boros cross-margin account. Refused when the Arbitrum wallet balance is short. The approval targets the Boros Router.
Request a withdrawal
Step 1 of 2: move cash out of margin into a pending withdrawal (`amount` in base units, or `max` = the cross account's free margin). After the hub's cooldown (15 min, returned as `data.cooldownSec`) call `withdraw-finalize`. **A second request RESTARTS the cooldown for the whole pending amount** — the response warns when one is pending.
Finalize a withdrawal
Step 2 of 2: pay the matured pending withdrawal to the wallet. `MarketHub.finalizeVaultWithdrawal` is permissionless — anyone may send it. 409 `WITHDRAW_NOT_READY` (with `readyAt`, chain time) while the cooldown runs, 409 `NOTHING_PENDING` without a request.
Cancel a pending withdrawal
Return the whole pending withdrawal to the cross-margin account.
Long or short YU
Place one order. **IOC** (default) takes the book: the API walks it for the expected fill and encodes two on-chain bounds — a limit TICK at the worst level ± `slippage`, and the contract's average-rate check (`desiredMatchRate`) at the expected fill ± `slippage` — so the transaction reverts rather than filling worse. **GTC / ALO** rest at `limitApr` (the tick rounds so the posted rate is never worse than asked).
Close a position
Flatten the wallet's cross position on one market with an opposite IOC order of EXACTLY its size. The freed cash stays in the cross account — withdraw it separately.
Cancel resting orders
Cancel the listed order ids on one market, or all of them (`orderIds=all`, default).
Lock a funding income
SHORT Boros YU sized on a USD notional, so a FLOATING funding income (an sUSDe or wstUSR position, a basis trade) becomes the FIXED rate the book fills at until the market matures.