Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ExchangeXSolParams

Hierarchy

  • ExchangeXSolParams

Index

Properties

asLegacyTransaction?: boolean

Produces a legacy transaction (Ledger currently doesn't support Versioned Transaction)

assumeAtasExist?: boolean

Set to true to exclude checking against on-chain data to determine whether the user has the required associated token accounts for an unstake, including wrapped SOL.

Defaults to false

feeAccounts?: FeeAccounts

Token account to receive optional additional fee on jup swaps when jupFeeBps is set on computeRoutes() and referral fees on StakePools

newStakeAccount?: PubkeyFromSeed | Keypair

Optionally pass in a precomputed PubkeyFromSeed or Keypair to serve as the split stake account for withdrawn stake to avoid computing one live

A route returned by computeRoutesXSol()

srcTokenAccount: PublicKey

The xSOL token account to unstake from

user: PublicKey

The owner of the xSOL tokens to unstake

Generated using TypeDoc