Calls to buy PT-USDG
pt_buyBuild the unsigned calls that buy PT-USDG with USDG for a wallet on Robinhood Chain: an approval of exactly that USDG to Pendle's router, if needed, then the router's swap, paying the PT-USDG to the wallet itself with a minimum out. Nothing is signed or sent: the wallet signs and sends them in order. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The wallet on Robinhood Chain (0x...). | |
| amount_usdg | Yes | USDG to spend, e.g. 100. | |
| slippage_bps | No | Slippage margin in basis points under the quote, 0 to 500. Default 100 (1%), 10 for a redemption. |