Solana Swap Tokens Jupiter
The Solana Swap Tokens Jupiter
node swaps Solana tokens using the Jupiter aggregator.
Inputs
wallet:
description: The Solana wallet that will be used for swapping the tokens.
allowed types: SolanaWallet
default value: None
input_token:
description: The mint address of the token that will be sold.
allowed types: SolanaAddress
default value: None
output_token:
description: The mint address of the token that will be bought.
allowed types: SolanaAddress
default value: None
amount:
description: The amount of input tokens to swap.
allowed types: decimal
default value: 0
slippage:
description: The slippage tolerance for the swap transaction, expressed as a percentage.
allowed types: decimal
default value: 1
priority_fee:
description: The priority fee for the swap transaction.
allowed types: "low", "medium", "high"
default value: high
Output
description: The transaction object generated by this action.
type: SolanaTransaction
Tags
crypto
solana
SPL
jupiter
DEX
Last updated