Skip to main content
GET
Create fixed-term transaction

Authorizations

x-api-key
string
header
required

Path Parameters

action
enum<string>
required

Action to be performed

Available options:
swap-in,
swap-out
userAddress
string
required
network
enum<string>
required

Network to perform the action on

Available options:
mainnet,
optimism,
arbitrum,
polygon,
gnosis,
base,
unichain,
swellchain,
celo,
worldchain,
berachain,
ink,
bsc,
hyperliquid,
plasma,
avalanche,
katana,
linea,
mega-eth,
monad,
etherlink,
robinhood,
eip155:1,
eip155:10,
eip155:42161,
eip155:137,
eip155:100,
eip155:8453,
eip155:130,
eip155:1923,
eip155:42220,
eip155:480,
eip155:80094,
eip155:57073,
eip155:56,
eip155:999,
eip155:9745,
eip155:43114,
eip155:747474,
eip155:59144,
eip155:4326,
eip155:143,
eip155:42793,
eip155:4663
vaultId
string
required

Vault id of the Pendle market

Query Parameters

assetAddress
string
required
amount
string
required

Amount in wei: asset amount for swap-in (asset→PT), PT amount for swap-out (PT→asset)

simulate
boolean
default:false

Simulate the transaction

Response

Default Response

currentActionIndex
number
required
actions
object[]
required