Skip to main content

All Questions

Tagged with
1 vote
0 answers
36 views

Unable to decode the value of the data field of the instruction in the Solana blockchain transaction

There is such a transaction in the Solana blockchain: 5Tkjtr2SnhaTbchug5TzeBZj6eehjdnDCLm9z6Hb3xFAcVtM6rAv2Ecxtvi6N8RbnfkRuRKR7aJv61RRNSPRxW77 There are instructions in it: ('Instruction Details' =>...
Vagrand Developer's user avatar
4 votes
1 answer
99 views

Why can't I swap with some SPL tokens when I use Jupiter v6 Swap API?

I am gonna buy and sell SPL tokens using Jupiter Quote API and Swap API. My code works with some tokens but I failed with some tokens. However, I can see lots of holders for those tokens on Solcan. I ...
Oleksii Vasylets's user avatar
0 votes
1 answer
58 views

Solana Payment Gateway swaping issue

I am developing a payment gateway on Solana and need to swap tokens programmatically using Node.js. Currently, I am testing SOL to USDC swaps with the Jupiter API. Everything works until generating ...
Hamza Zulqarnain's user avatar
0 votes
1 answer
219 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)...
Crack 2021's user avatar
0 votes
0 answers
468 views

Issue fetching token balance from connected wallet using Solana, Jupiter Aggregator, and Jupiter APIs

I'm having trouble fetching the balance of a specific token from the connected wallet when swapping tokens using Solana, Jupiter Aggregator, and Jupiter APIs. I've implemented a server-side API to ...
Osman Ghani Granday's user avatar
0 votes
0 answers
82 views

How can I compute amountOut?

I can't compute amountOut and get poolKeys for a swap on raydium. Can someone provide a simple example? const amountOut = Liquidity.computeAmountOut({ poolKeys, poolInfo, amountIn: ...
forexmp45's user avatar
0 votes
0 answers
406 views

Swap SOLANA RAYDIUM node.js

is there anyone have an example for swap token on raydium in NODE.JS not typescrypt please ? Sincerely const { Connection, TransactionInstruction, PublicKey, Transaction, Keypair } = require('@solana/...
forexmp45's user avatar
0 votes
1 answer
471 views

TransactionExpiredBlockheightExceededError while trying to swap USDT to SOL on Solana LP

I am getting this error on NodeJS using Solana web3.js: /Users/carlosmoralescliment/Projects/raydium-swap/node_modules/@solana/web3.js/src/connection.ts:3957 throw new ...
CarlosMC's user avatar
1 vote
1 answer
1k views

Error during metadata creation: Send transaction error: Failed to send transaction on Solana

I am facing this issue in my code, how to fix it? here is the issue below Let's mint some tokens! Transaction signature: ...
Techy Tro's user avatar
0 votes
1 answer
200 views

I am having ParsedProgramError whlie mint programmable NFT

I am using below code to mint pNFT on Solana using Metaplex const transactionBuilder = await METAPLEX .nfts() .builders() .create({ uri: metadataUri, name: name, ...
Alchemist's user avatar
  • 385
1 vote
0 answers
828 views

Node.js Solana websocket programSubscribe returning too many events

I have a node.js file using Solana's JSON RPC websocket method programSubscribe. The problem I'm running into is that I'm getting events that happened up to a year ago. How do I use a filter to get ...
HelplessInWeb3's user avatar
3 votes
1 answer
3k views

Getting error while running program in node js related to solana web3

I am trying to starting code to name my solana token i was following but he was sucessful but i am not. I am using ubuntu and I am coding in vscode and running the program like ts-node main.ts. How to ...
Risen_Star's user avatar
2 votes
1 answer
1k views

Non-base58 character error in create Fungible token in Solana

I am trying to creat fungible token using metaplex(here) The rest is working fine but when sending transaction there was error. I found that createCreateMetadataAccountV2Instruction in add transaction ...
Alchemist's user avatar
  • 385
1 vote
0 answers
258 views

How do I convert Solana Wallet keypair to KeyObject in NodeJs?

const keypair = 'wallet_keypair'; const keypairBuffer = new Uint8Array(base58.decode(keypair)); const user1PrivateKey = base58.encode(keypairBuffer.slice(0, 32)); const user1PublicKey = base58.encode(...
ZeuS's user avatar
  • 23
3 votes
2 answers
617 views

"Error: failed to post funding tx" on metaplex

I am trying to upload solana NFT metadata to arweave.net. I tried below code. await METAPLEX .nfts() .update({ name: newName, nftOrSft: nft, ...
Alchemist's user avatar
  • 385

15 30 50 per page