You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 correct data. Here is the relevant part of my code:
{
"context": {
"apiVersion": "1.17.28",
"slot": 266085023
},
"value": {
"accounts": null,
"err": {
"InstructionError": [
0,
"ProgramFailedToComplete"
]
},
"logs": [
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]",
"Program log: Instruction: SharedAccountsRoute",
"Program log: panicked at 'range end index 64 out of range for slice of length 0', src/token.rs:551:38",
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 16399 of 200000 compute units",
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"
],
"returnData": null,
"unitsConsumed": 0
}
}
When using swap-instructions, the wallet does not display the correct data, but with swapTransaction, it works fine. Could someone help me identify what might be going wrong?
Additional Details:
Solana Network Version: 1.9.25
Wallet: Phantom
Thanks in advance for any insights!
The text was updated successfully, but these errors were encountered:
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 correct data. Here is the relevant part of my code:
log
When using swap-instructions, the wallet does not display the correct data, but with swapTransaction, it works fine. Could someone help me identify what might be going wrong?
Additional Details:
Solana Network Version: 1.9.25
Wallet: Phantom
Thanks in advance for any insights!
The text was updated successfully, but these errors were encountered: