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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"side": "<side>",
"amount": "<amount>"
},
"name": "pt_quote"
}
}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. |