Produces a legacy transaction (Ledger currently doesn't support Versioned Transaction)
Current epoch. If not provided, computeRoutes() will call getEpochInfo() to fetch it
Same as jupiter.computeRoutes()
's forceFetch
:
If true, refetches all jup accounts and stake pool accounts
Default to false
Optional additional fee to charge on jup swaps,
passed as feeBps
to jupiter.computeRoutes()
Defaults to undefined
Silently ignore routes where errors were thrown during computation such as failing to fetch required accounts.
Defaults to true
In basis point (0 - 10_000)
The stake account to be unstaked
Generated using TypeDoc
The amount in lamports to be unstaked. Should be <= stakeAccount.lamports. If < stakeAccount.lamports, a stake split instruction will be added to the setup instructions