Skip to main content

Questions tagged [sendtransactionerror]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
24 views

The Solana transaction encountered a failure when submitted programmatically, yet it was successful through the Phantom wallet

I have created an VersionedTransaction with SystemProgram.transfer -> Math.max(Math.floor((3e5 * priorityFee) / 1e6), 3e5) ComputeBudgetProgram.setComputeUnitPrice -> priorityFee Swap ...
Pavi's user avatar
  • 11
0 votes
0 answers
35 views

When landing Jupiter Swap transaction i'm getting error: "Program Error: "Instruction #1 Failed - Fallback functions are not supported"

can anyone help me in adding the compute limit and compute price in a transaction using Python? I'm trying to add both instructions (compute limit and compute price) to the Jupiter Swap transaction ...
TheLastSamurai's user avatar
0 votes
1 answer
104 views

RPC_ERROR: failed to simulate for instructions

The full body of the error is: const error: any = new Error(message) ^ Error: rpc simulateTransaction error at Logger.makeError (/home/nuh/Desktop/crypto_studies/...
nferturk's user avatar
0 votes
1 answer
42 views

deprecated functions in the solana web3.js : sendAndConfirmTransaction

I just wanted to know if sendAndConfirmTransaction is working fine as most of the internal functions used seem deprecated. I am trying to send a transaction and getting a few blockers, just wanted to ...
Pranav's user avatar
  • 1
2 votes
0 answers
216 views

Network mismatch

I am trying to send a transaction on devnet network but for some reason I keep getting the error "Network mismatch Your current network is set to Devnet, but this transaction is for Mainnet. ...
Бен Тен's user avatar
1 vote
2 answers
609 views

Error: unable to confirm transaction. This can happen in situations such as transaction expiration and insufficient fee-payer funds

1. Description of my context on api.mainnet-beta.solana.com Token machine made with Windows 11 remote PC Connected to Sol network by api.mainnet-beta.solana.com 1.1 Detailed description coming from ...
AJSP's user avatar
  • 51
0 votes
0 answers
61 views

Transaction fails when attempting to initialize an auction program using Anchor

I've deployed a program to devnet that lets me create English auctions, and I'm trying to create an auction from my next.js frontend. This is the program I'm using. The process I'm following is ...
Mike's user avatar
  • 125
0 votes
1 answer
78 views

failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x5

I encountered an error while executing a program call. Specifically, the error arises during the invocation of a function where I'm attempting to create a metadata account using the ...
Manav Panchal's user avatar
0 votes
1 answer
51 views

Error Adding Priority Fee Instruction to Solana Pay Transaction: Transaction Signature Verification Failure

I'm currently working with Solana Pay and need to add priority fees to a transaction that requires two signatures, one from the merchant to initiate a loyalty token transfer and another from the user ...
patozavala's user avatar
0 votes
0 answers
25 views

Claim sunSBR staking rewards

Claim sunSBR staking rewards × failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1772 how can i solve this problem ?
Dogukan's user avatar
0 votes
0 answers
45 views

Transcation error

I am unable to send token and unable to unstake and withdraw my Pyth token My SOL has 0.33 SOL but it shows transcation error.
Alan's user avatar
  • 1
0 votes
2 answers
327 views

"No data" after sending tx [Python]

I'm trying to use Jupiter API to swap tokens via python, and i used basically same code it's been around in this forum, which is: swap_instruction = swap_tx_response.json()["swapTransaction"...
germor197's user avatar
0 votes
1 answer
54 views

SendTransactionError: Transaction results in an account (0) with insufficient funds for rent

Can someone please help me understand why I'm getting this error? I'm trying to perform this automatic transaction through websocket the moment the account receives any funds. I'm pretty sure the ...
lumplumbaum's user avatar
0 votes
0 answers
77 views

Custom program error 0x2e

I an trying to send a transaction to RAYDIUM V4 program to remove liquid from an Liquidity Pool. However, I encountered an error with code 0x2e. From here: https://github.com/raydium-io/raydium-amm/...
Bach Kim's user avatar
0 votes
1 answer
121 views

web3.js - Solana tx fails silently

I am using web3.js to send SOL txns, using the sendTransaction method. Sometimes, when I send a txn, the method will return me a transaction address. But when I look it up in solscan.io (even after 5 ...
01jayss's user avatar
  • 71
2 votes
1 answer
15 views

Unable to Utilize AnchorError in TS Tests

I should be able to test my errors against AnchorError codes in my TS tests (Ref), but when I run my tests are not working as expected and unable to recognize the AnchorError. Here's my snippet: ...
AMilz's user avatar
  • 1,526
1 vote
2 answers
2k views

Solana sendRawTransaction & confirmTransaction ; confirmTransaction takes forever and fails

Allright I need help.. My Web3.js sign and send wouldn't work. I either get BlockHeightExceeded , Blockhash not found, or it just gets stucked in the confirmTransaction.. I have googled and looked ...
mesnia's user avatar
  • 13
0 votes
0 answers
41 views

{logs: Array(8) programErrorStack: em stack:failed to send transaction:failed to send transaction:Transaction Instruction 2:Program failed to complete

use anchor_lang::{ prelude::*, solana_program::{clock::Clock, hash::hash, program::invoke, system_instruction::transfer}, }; mod constants; mod error; use crate::{constants::*, error::*}; //...
Charbel Nakouzi's user avatar
3 votes
2 answers
1k views

How do I implement Jupiter's VersionedTransactions into Python?

I've been having a bit of trouble while trying to implement Jupiter's V4 swap API into my program. Although I haven't had any issues retrieving the transaction, I haven't figured out how to execute ...
OKprogrammer's user avatar
1 vote
1 answer
5k views

error while sending transaction with solanaweb3, [ReferenceError: Property 'Buffer' doesn't exist] in react native

the part of code that causes const connection = new Connection('https://api.testnet.solana.com'); console.log(privateKey, '+++++++++'); const feePayer = Keypair.fromSecretKey(bs58.decode(privateKey))...
Mian Bilal's user avatar
1 vote
1 answer
42 views

So when i Initialize i get a program error, It worked when i just created it without a txn confirmation

I tested the code without the sendandconfirmtxn and it worked, but then after deploying devnet it stopped working. this is my program #[program] pub mod solotesting2 { use super::*; pub fn ...
heheman's user avatar
  • 53
1 vote
1 answer
340 views

execute swap instruction using VersionedTransaction

i am trying to execute swap instruction using VersionedTransaction and i'm getting this error. const messageV0 = new TransactionMessage({ payerKey: payer.publicKey, recentBlockhash: blockhash, ...
devansh sanghvi's user avatar
1 vote
1 answer
346 views

Custom program error code 0x0 while sending a transaction

While trying to create a transaction containing as instructions the creation of a mint account, initialize mint instruction and ATA creation), it gives me the custom program error code 0x0 while ...
ASCorreia's user avatar
  • 263
1 vote
1 answer
192 views

invalid value: continue signal on byte-three, expected a terminal signal on or before byte-three when sending a transaction

I am trying to send a transaction signed via a web wallet, there is only one instruction to be executed which is to create an associated token pda. but i'm getting this response from rpc each time {&...
yohanes's user avatar
  • 41
1 vote
0 answers
482 views

Phantom Wallet blocking transactions that fail to simulate

Phantom seems to be completely blocking off transactions that are expected to fail on simulation. This is problematic for when trying to chain transactions where we want users to sign only once, but ...
Kurt's user avatar
  • 51
2 votes
2 answers
306 views

How can I sign a transaction with two signers?

I've got a program that is required to be signed by two signers. One signer is the account in my phantom wallet and the other is created in the code. const blockhash = await program.connection....
Discardo's user avatar
  • 121
9 votes
2 answers
3k views

IllegalOwner error: Provided owner is not allowed

I am having this error when processing instructions for a transaction. Detail error log: Transaction simulation failed: Error processing Instruction 1: Provided owner is not allowed Program ...
agentp's user avatar
  • 235
3 votes
2 answers
1k views

Calling one instruction after another results in Error: This account may not be used to pay transaction fees

I have two methods in my program, one to initialize a PDA and set some state variables the other to transfer SOL from one to another account pub fn initialize(ctx: Context<Initialize>, ...
mosmislit's user avatar
4 votes
2 answers
1k views

How to react to this RPC error as a dev: Node is behind by 166 slots

I was getting this error when sending a transaction to the RPC: Transaction failed: RPC response error -32005: Node is behind by 166 slots Why does this happen? How should we react to this error? ...
itsfarseen's user avatar
1 vote
2 answers
589 views

How to avoid SendTransactionError "This transaction has already been processed"

I'm writing an Anchor program which has an instruction that initializes a PDA account using some seeds. I want to write a test that verifies that my implementation ensures uniqueness: I can't call my ...
Callum M's user avatar
  • 3,050