Calls to redeem PT-USDG
pt_redeemBuild the unsigned calls that redeem a wallet's PT-USDG for USDG 1:1 from its maturity on, on Robinhood Chain: an approval of exactly that PT-USDG to Pendle's router, if needed, then the router's redemption to the wallet itself. By default the PT of the oldest matured market the wallet holds (an earlier market's included); market names one (pt_position lists them). Before maturity it says to sell instead. Nothing is signed or sent. 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": {
"address": "<address>",
"amount_pt": "<amount_pt>"
},
"name": "pt_redeem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | Optional: the market (or its PT) to redeem, as pt_position lists it. Default: the oldest matured market the wallet holds PT of. | |
| 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. |