helius_execute_jupiter_swap
Swap tokens on the Solana blockchain using Jupiter DEX by specifying input/output mint addresses, amount, and signer public key. Configure maximum slippage for optimized execution.
Instructions
Execute a token swap using Jupiter
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | The amount of input tokens to swap | |
inputMint | Yes | The mint address of the input token | |
maxDynamicSlippageBps | No | Maximum slippage in basis points (optional) | |
outputMint | Yes | The mint address of the output token | |
signer | Yes | The signer public key |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"description": "The amount of input tokens to swap",
"type": "number"
},
"inputMint": {
"description": "The mint address of the input token",
"type": "string"
},
"maxDynamicSlippageBps": {
"description": "Maximum slippage in basis points (optional)",
"type": "number"
},
"outputMint": {
"description": "The mint address of the output token",
"type": "string"
},
"signer": {
"description": "The signer public key",
"type": "string"
}
},
"required": [
"inputMint",
"outputMint",
"amount",
"signer"
],
"type": "object"
}