Pendle
Get Quote
Retrieve a quote for trading Principal Token (PT), Yield Token (YT), or Liquidity Provider Token (LP) on Pendle.
For BUY
, amount
is the quantity of the Underlying Token to spend, and the quote returns the amount of token_type
received.
For SELL
, amount
is the quantity of token_type
to sell, and the quote returns the amount of Underlying Token received.
GET
Query Parameters
The chain to use.
Available options:
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
Optional block number (defaults to latest).
The market address of the desired position.
The quantity to trade.
Specifies the token to quote (PT
, YT
, or LP
)
Available options:
PT
, YT
, LP
Specifies the trade direction (BUY
or SELL
)
Available options:
BUY
, SELL
Response
200
application/json
Successful Response
The response is of type object
.