Get Pendle fixed-term transaction data via Pendle API. Actions: swap-in (asset→PT), swap-out (PT→asset). API handles SY wrapping internally.
Action to be performed
swap-in, swap-out Network to perform the action on
mainnet, optimism, arbitrum, polygon, gnosis, base, unichain, swellchain, celo, worldchain, berachain, ink, bsc, hyperliquid, plasma, avalanche, katana, linea, mega-eth, monad, etherlink, 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 Vault id of the Pendle market
Amount in wei: asset amount for swap-in (asset→PT), PT amount for swap-out (PT→asset)
Simulate the transaction