Questions tagged [jupiter]
The jupiter tag has no usage guidance.
76 questions
1
vote
1
answer
20
views
Wsol balance shows zero
I'm trying to swap wsol against usdc and then in second transaction wsol against the usdc it's sort of arbitrage script.
Now that I don't have wsol balance but the Jupiter aggregator uses sol from my ...
1
vote
1
answer
47
views
getting error when try to send the two transactions combined for swap to jupiter sdk
i'm trying to send a two seperate swap transaction as one through the help of versioned transactions to solana network and in return i'm getting the error below
SendTransactionError: Transaction ...
0
votes
0
answers
20
views
Timeout Errors in Jupiter API
In my code made it with Node js
const executeSwap = async (quote, telegramId) => {
try {
logger.info('Starting executeSwap function');
const wallet = await getWallet(telegramId);
const ...
0
votes
0
answers
49
views
Funds missing after solana purchase
I have recently opened a phantom wallet first transaction of 16$ AUD of Solana was perfect then I decided to buy more the best 50, 16 and another 16 $ transactions did not appear in my wallet even ...
0
votes
1
answer
42
views
Swap API - Balance change is not displayed when using Jupiter swap API
I'm using jupiter quote/swap endpoints to get transaction string. https://www.quicknode.com/docs/solana/swap
But when signing transaction, wallets don't display balance change at all, even though it ...
2
votes
2
answers
87
views
Transaction sent with txid in log but no swap happened on Jupiter
I got the quote answer and swap answer and even the signed transaction sent but there's no swap and if i check transaction with solana explorer it says the transaction didnt exists (example of ...
0
votes
0
answers
165
views
How to Recognize and Parse Instructions in Solana Transactions for Raydium and Jupiter Swaps
I'm new to Solana development and I'm working on a project called Soltrac, which is a CLI tool designed to copytrade a Solana wallet. The tool monitors transactions of a specified wallet and ...
0
votes
2
answers
28
views
could not find `instruction` in `self` when putting code in a separate file
I am trying to work with Jupiter aggregation.
For the ease of readers I will only give the relevant codes:
Primarily, here is the lib.rs:
use crate::instructions::*;
pub mod instructions;
use ...
0
votes
1
answer
37
views
Using FeePayer on web3 solana token swap?
I am using javascript from github to create a solana SPL token swap, but I want to use feepayer to pay the transaction fee, I am a beginner, can you explain how to implement it? I have attached the ...
1
vote
2
answers
84
views
Send custom routePlan to Juptier API /swap
Hello dear friends hope everybody is good today ?
When following : https://station.jup.ag/docs/apis/swap-api#guide-for-v6-swap-api-code-example
I can't send my transaction to a jito bundle or normal
...
2
votes
0
answers
22
views
How to fix ran out of memory issue on solana network
I am facing below issue, but actually I am not sure what the reason is.
Could you please take a look at this issue and let me know how to fix this?
https://solana.fm/tx/...
2
votes
1
answer
80
views
Please help me to write a script that can buy on Jupiter through a squad wallet
import {
Connection,
ConnectionConfig,
Keypair,
PublicKey,
TransactionMessage,
VersionedMessage,
VersionedTransaction,
} from "@solana/web3.js";
import path from "path&...
0
votes
1
answer
18
views
How to get the signature hash without simulation (skipPreflight) when sending Transaction with 2 quotes on Jupiter
Hello guys i'm lost really how in my code can i get the signature hash without simulation ?
This is what i do for 2 quotes:
Where to add : skipPreflight: true ??
POST /swap-instructions x2
...
1
vote
1
answer
159
views
Swap with only Intruction : Route on Jupiter
Hello friends i get trouble i'm trying to swap with only route on jupiter this what is do :
const quoteResponse = data
// {
// inputMint: 'So11111111111111111111111111111111111111112'...
1
vote
1
answer
60
views
Ended Up With Weird SPL Token After SOL to USDC Swap
I swapped SOL to USDC on Phantom mobile wallet. Everything seems to happen fine. However, I am left with a USDC token that phantom does not show. Looking at the txn on SolScan, it is referred to as &...
0
votes
0
answers
17
views
Expected first writable signer key to be the fee payer - Solana MultiSwap Jupiter
Hello everyone hope all are good today ?
After many hours of working and seaching i'm forced to ask some help ...
I'm trying to do a multiswap on Jupiter with 2 quotes but i get error when sending ...
0
votes
0
answers
26
views
Jupiter Terminal input mint configuration
I'm integrating Jupiter terminal in my next.js project and I want to know how to fix my input mints to SOL and USDT only.
const mod = await import('@jup-ag/terminal')
const init = mod.init
...
0
votes
0
answers
29
views
Jupyter swap fee settings
please tell me how I can accept commissions fee for any swaps in my application in SOL/USDT. What if the pair does not contain sol/usdt, do I need to create 1000 token accounts in my jupiter referral ...
0
votes
1
answer
250
views
How to add two Jupiter swap transactions
// First swap transaction (JUP to SOL)
const quoteResponse1 = await (
await fetch(
"https://quote-api.jup.ag/v6/quote?inputMint=JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN&...
0
votes
0
answers
47
views
Memecoin pool meteora.ag dlmm
I've created a memecoin and I want to add 17 million of my coins and 500 USDC to the pool on meteora.ag/dlmm. Will this make it tradeable on Jupiter?
1
vote
0
answers
108
views
VersionedTransaction too large
I'm trying to execute a series of swaps, returned by Jupiter as a single atomic transaction.
Is contains following instructions
token_ledger_instruction
compute_budget_instructions
setup_instructions
...
0
votes
0
answers
137
views
Decode Jupiter route instruction data
I'm trying to decode a route instruction using the Jupiter V6 IDL.
The hex data is: e517cb977ae3ad2a010000001a640001003fc6b800000000e214e91a00000000030000
and I get something like:
RouteArgs { ...
1
vote
1
answer
147
views
What is the "Fee" on solscan.io transaction page?
What is fee here in the following picture? Is it the base fee?
This is from a transaction page on solscan.io.
https://solscan.io/tx/...
1
vote
0
answers
181
views
Jupiter transaction not getting confirmed despite multiple retries
I'm working on a Solana-based application and I'm facing an issue with transaction confirmation. I have implemented a function called transactionSenderAndConfirmationWaiter that is responsible for ...
1
vote
0
answers
101
views
Jupiter Swap API
I need help with the Jupiter Swap API. I'm stuck on a problem. I’m using the Jupiter Swap API to swap tokens, but I want to swap WSOL instead of SOL. I set the wrapUnwrapSOL option to true, but I’m ...
2
votes
0
answers
106
views
"TypeError: Cannot read properties of undefined (reading 'toBase58') when performing chained swap on Solana"
I am working on an arbitrage bot on the Solana blockchain that performs chained swaps using the Jupiter API. I aim to swap from SOL to an intermediate token and then back to SOL in a single ...
1
vote
0
answers
28
views
Program log: panicked at 'Integer overflow when casting to u64', programs/amm/src/libraries/big_num.rs:9:1
I noticed there are many errors about int overflow panic of Raydium Concentrated Liquidity.
how can we solve it ? I don't think the input number is overflow at all
this is the transaction: https://...
2
votes
1
answer
570
views
Using jupiter swap instructions for faster transactions
Just looking at jupiter's documentation.
I notice it has /swap and /swap-instructions
It appears that /swap-instructions gives you an instruction payload with which to utilise transactions in a solana ...
1
vote
1
answer
64
views
How can we prevent wallet to not hold more than 1% token if market cap is under 1B
I am building a token and i want to wallets to not buy much token. How can we prevent wallet to not hold more than 1% token if market cap is under 1B.
How can i achieve this , Please keep in mind ...
1
vote
1
answer
175
views
Can not find a working example for simple Swap and Jupyter API in python
noob here.
TL;DR can anyone please provide a working example with library versions in python to execute a simple swap using jupyter api or at least point me to a working documentation??
Longer version:...
1
vote
0
answers
318
views
Unable to Build Rust Program with jupiter-core Dependency for Swapping SOL to USDC
I started learning Solana very recently and right now I'm trying to perform a swap transaction to swap SOL to USDC.
I found out that there's a Jupiter DEX and I'm trying to use its library. But ...
0
votes
0
answers
120
views
solana.rpc.core.RPCException: RpcCustomErrorFieldless.TransactionSignatureVerificationFailure
py code:
import asyncio
import base64
import base58
from solana.rpc.async_api import AsyncClient
from jupiter_python_sdk.jupiter import Jupiter
from solders import solders
from solders.keypair import ...
0
votes
0
answers
61
views
React jup terminal issue
useEffect(() => {
console.log("Initializing Jupiter...");
window.Jupiter.init({
displayMode: "integrated",
integratedTargetId: "integrated-terminal",
endpoint: &...
0
votes
2
answers
119
views
Sol got stuck on associated account
TL;DR
This account https://solscan.io/account/C4CBuAwkP1MJrJh5umKigUtx7EtTGaqHqVYFVUQ2HDtr this account was created by my wallet 6UV7BoMkyjt2aWTaZJnqbhDZWynFmmfBwqNPjKvQ72c8. So my wallet is Authority....
3
votes
1
answer
688
views
How can I programmatically swap with the Jupiter API?
I want to use the Jupiter API to swap a given token to USDC in Typescript. How can I go about doing this?
0
votes
1
answer
223
views
How to combine two jupiter swaps in one?
I'm new to solana and I'm trying to combine two swap transactions I got from jupiter API. In my attempt I got multiple types of errors depending on how the transaction's structure. I will post an ...
0
votes
1
answer
592
views
RangeError: encoding overruns Uint8Array
I am getting this error when combining two sets of swap instructions into one, can anyone elaborate on what causes it? Thanks
RangeError: encoding overruns Uint8Array
0
votes
2
answers
793
views
Trying to do a token swap using Jupiter with Python
I am trying to swap SOL for GME in this example but the swap does not occur?
I am following the documentation from Jupiter here: https://station.jup.ag/api-v6/post-swap
I change the swap response (not ...
1
vote
1
answer
457
views
Why does using Jupiter V6 Swap API swap-instructions to invoke a wallet not show correct data?
I'm encountering an issue with the Jupiter API V6 Swap API when invoking a wallet. Using swapTransaction, everything works perfectly, but when using swap-instructions, the wallet does not display the ...
0
votes
0
answers
214
views
Account is frozen, custom program error: 0x11
import { clusterApiUrl, Connection, Keypair, VersionedTransaction } from '@solana/web3.js'
import { Wallet } from '@project-serum/anchor'
import bs58 from 'bs58'
import * as dotenv from 'dotenv'
...
0
votes
0
answers
107
views
Panic on Solana cross program invocation
Program log: panicked at 'range end index 64 out of range for slice of length 0', src/token.rs:551:38,
failed: SBF program panicked
Where can I investigate 551:38 line of code, or any help on ...
1
vote
1
answer
235
views
My Solana Trading bot gives sbf panic error
#7 Jupiter Aggregator v6 instruction
Program log: Instruction: SharedAccountsRoute
Invoking Token Program
Program log: Instruction: TransferChecked
Program Token Program consumed 6238 of 1333397 ...
0
votes
0
answers
214
views
Retrieving active jupiter limit orders for a given pair
I'm trying to add limit order views to a dex project i'm working on, and i cannot work out how to scrape/interpret the active limit orders for a given pair.
Has anyone had any success in doing this ...
2
votes
0
answers
386
views
Self-hosted V6 Swap API: Send quote request but no response
I used the jupiter-swap-api v6.0.15 version. The program ran for a long time, but the following command returned the Connection close response body.
curl -s 'http:127.0.0.1:8080/quote?inputMint=...
0
votes
3
answers
908
views
How to add my own fee to Jupiter swap?
I use Jupiter V6 swap request to get a post request and it works well. My question is hot to add 1 more instruction with SOL transfer to my fee address? 0.1% of SOL for example
I've been trying to add ...
1
vote
0
answers
119
views
How to merge 2 Transactions into One?
Could anyone please help me merge 2 transactions into 1?
I have followed the answer given in another thread but i cant seam to be able finish the task.
I have extracted all instructions but i cant ...
0
votes
0
answers
65
views
Sending transaction using Jupiter integerated terminal
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Jupiter Terminal</title>
<script src="https://terminal.jup.ag/main-v2....
1
vote
0
answers
1k
views
"TransactionExpiredBlockheightExceededError: Signature XXX has expired: block height exceeded" when confirming successful transaction
When attempting to use confirmTransaction using the BlockheightBasedTransactionConfirmationStrategy, the call takes a very long time then errors out with "...
0
votes
0
answers
277
views
solana-go/jupiter invalid transaction: Transaction failed to sanitize accounts offsets correctly
I'm developing a program with Jupiter Api and gagliardetto/solana-go. It always returns invalid transaction: Transaction failed to sanitize accounts offsets correctly when I submit the transaction. ...
1
vote
2
answers
487
views
how to swap twice in one tx
just like this transaction: https://solscan.io/tx/2T3jByRBFL5sJ7a9FeZVT4jcJitPKZ7L8DBAU3UmoXLceTSyJKb5Kqi17TvRASuoaqJc3rUMptFGuLb42854K5yA
how does this realize by Jupiter API ? Does anyone know it? ...