Calls to sell PT-USDG
pt_sellBuild the unsigned calls that sell a wallet's PT-USDG for USDG at the market before maturity, on Robinhood Chain: an approval of exactly that PT-USDG to Pendle's router, if needed, then the router's swap, paying the USDG to the wallet itself with a minimum out. Nothing is signed or sent. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The wallet on Robinhood Chain (0x...). | |
| amount_pt | Yes | PT-USDG, e.g. 25.5, or "all" for the whole balance. | |
| slippage_bps | No | Slippage margin in basis points under the quote, 0 to 500. Default 100 (1%), 10 for a redemption. |