Body
The address of the market identifying which Yield Token (YT) you would like to trade.
"0x08a152834de126d2ef83d612ff36e4523fd0017f"
Specifies the direction of the YT trade. Valid values are BUY
(to buy YT) or SELL
(to sell YT).
BUY
, SELL
"BUY"
"SELL"
TThe symbol or address of the token to trade YT with. For action
set to BUY
, this is the token to buy YT with. For action
set to SELL
, this is the token to sell YT for.
"USDC"
"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
For action
set to BUY
, this is the amount in of token
to buy YT with. For action
set to SELL
, this is the amount in of YT to sell for token
.
x > 0
1.5
The maximum slippage allowed in percent. e.g. 1
means 1%
slippage allowed.
0 <= x <= 10
0.5
arbitrum
, base
, ethereum
The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
"PENDLE_TRADE_YT"
Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
Response
Successful Response
The unsigned transaction data. User must sign and broadcast to network.
- UnsignedTransaction
- UserOperationResponse
The estimated amount out for the transaction. The actual output amount for this transaction is guaranteed be within the acceptable threshold, defined by the max_slippage_percent
, relative to this quote.