Quote a PT-USDG trade
pt_quoteQuote buying PT-USDG (Pendle's principal token for USDG on Robinhood Chain, redeemable 1:1 for USDG at its maturity) with USDG, selling it before maturity, or redeeming it after: what comes out at the oracle's spot rate, the minimum a trade would name, the days to maturity and the fixed APY a buyer locks in. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | buy: USDG in, PT-USDG out. sell: PT-USDG in, USDG out, before maturity. redeem: PT-USDG in, USDG out 1:1, from maturity. | |
| amount | Yes | USDG to spend (buy), or PT-USDG to sell or redeem. | |
| slippage_bps | No | Slippage margin in basis points under the quote, 0 to 500. Default 100 (1%), 10 for a redemption. |