All Questions
Tagged with swap spl-token-program
5 questions
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
29
views
Swap transection is successful and fee deducted but no swap happend
I am trying to build a node js app that take my Tatum.io solana wallet address which have SOL and USD-Coins and make swap. I want to convert USDC from my wallet to SOL or convert SOL to USD-Coins. the ...
0
votes
1
answer
78
views
facing a "Create Account: account Address already in use" when running TokenSwap.createTokenSwap method
Hi I am facing a "Create Account: account Address { address: xxx, base: None } already in use" when running TokenSwap.createTokenSwap method which is associated to package @solana/spl-token-...
1
vote
0
answers
104
views
The provided token program does not match the token program expected by the swap
import { logger } from "../helpers";
import * as web3 from "@solana/web3.js";
import * as token from "@solana/spl-token";
import {
TokenSwap,
TOKEN_SWAP_PROGRAM_ID,
...
1
vote
1
answer
77
views
what should be value of tokenswapStateAccount when trying to swap
I am using node js @solana/web3 and @solana/spl-token and spl-token-swap libraries to perform a swap of token. I am confused with what should be the value of tokenSwapStateAccount and where would I ...