Questions tagged [send-transaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 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
  • 101
2 votes
2 answers
51 views

Can I send a transaction in the current slot

I want to send a transaction in the current slot. The way I am doing this is by getting the latest processed blockhash and then adding it in my transaction and sending it to the current leader in ...
Huzaifa Rahman's user avatar
0 votes
0 answers
26 views

My sol balance can't be sent

I am trying to send sol from wallet to another. I have sol, but it says I don't have any available for swap
Erioluwa Benjamin's user avatar
0 votes
0 answers
23 views

Blank Transactions on block explorer but returns successful in code

How can I prevent this from happening https://solscan.io/tx/3gphnLPNXHMkE2M8QgRgGXkUPZtZsxs2PEeSZVPBUfmEUemKnpasR3AV6QAVjgsVia5LtCXp9nAK512KvqynfxTm ? Or make it so those are retried until success? ...
Muhit Raihan's user avatar
0 votes
0 answers
15 views

Please I mistakenly copied my Associated Token Address and sent USDT SPL to it instead of the normal USDT SPL address worth$9.4 Please help

Good morning, please I mistakenly copied my Associated Token Address and sent USDT SPL to it instead of the normal USDT SPL address worth$9.4 Please what can i do to recover it. Thanks
Nielz's user avatar
  • 1
0 votes
1 answer
51 views

How to reliably detect sendtransaction confirmation errors?

When I broadcast a Transaction that is about to expire with SendTransaction, no error is returned from the node, but the Tx may not be taken into the network. Is there any way to reliably detect this ...
Koichi's user avatar
  • 61
1 vote
1 answer
124 views

How to make make solana web.js bot fast

const { Keypair } = require("@solana/web3.js"); const { getOrCreateAssociatedTokenAccount, createTransferInstruction } = require("@solana/spl-token"); const { Connection, ...
RAJUReDDY's user avatar
1 vote
2 answers
301 views

Optimal transaction execution speed

I have been doing some testing using various RPC's I can see that some bots on the network are managing to get their transactions inside the same block / next block of their target transactions and ...
MHCH's user avatar
  • 45
1 vote
2 answers
222 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
2 votes
1 answer
42 views

Does the Solana Mobile Android phone support fingerprint / face verification for payments like Google Pay / Apple Pay?

Using the Android phone made by the Solana Mobile project, am I able to use the phone's fingerprint or face scanner (like TouchID / FaceID on Apple's iOS) to confirm send payments of Solana using the ...
kj3x39's user avatar
  • 23
0 votes
1 answer
238 views

Raydium swap vs CPI Call to Raydium Program

what is the difference between sending a transaction from a client to the Raydium program to make a swap and making your program that does a cpi call to the Raydium program and sending the transaction ...
kc.sol's user avatar
  • 3
0 votes
1 answer
76 views

Trouble sending faucet SOL on devnet from one wallet to another

I've attempted to send funds from one wallet to another. The wallet I intend to send from is credited with 5 SOL and the recipient wallet has 1 SOL. I run either npx esrun transfer.ts ...
johnny's user avatar
  • 59
0 votes
0 answers
176 views

Send Transaction Error with Raydium

I getting the below error, how fix it? Operation (SWAP): USDC(EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) -> SOL(So11111111111111111111111111111111111111112) Liquidity Pool(Raydium): ...
ZweiDeveloper-L's user avatar
1 vote
1 answer
58 views

Why am I experiencing a delay in the sendtransaction method?

I create a signature with the sendtransaction method. I see a difference between the signature creation time on my local and the time on the network. Usually, it appears 5-10 seconds later on the ...
Philip Mornie's user avatar
0 votes
2 answers
69 views

Solana Crypto Retrieval

Recently I sent Solana to the following address: GJRs4FwHtemZ5ZE9x3FNvJ8TMwitKTh21yxdRPqn7npE I sent it from my Coinbase Wallet account, now it has come to my attention that crypto sent CAN NOT be ...
RubinSon's user avatar
0 votes
0 answers
145 views

Broadcast Transaction Error

i getting the below error, how fix it? Operation (SWAP): USDC(EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) -> SOL(So11111111111111111111111111111111111111112) Liquidity Pool(Raydium): ...
user avatar
1 vote
1 answer
294 views

Can I batch sends in a Solana transaction?

currently I am trying to get an example transaction where (1) Multiple address(wallets) sends to ONE address(wallet) (2) Multiple address(wallets) sends to multiple address(wallets) in one signature ...
data-adventure's user avatar
1 vote
2 answers
95 views

How can I sign a Solana transaction on the frontend with data coming from the backend?

async function getTransaction(){ $.ajax({ url: 'http://localhost:8080/gettransaction', type: 'GET', dataType: 'json', success: async function(data) { ...
Mario Badea's user avatar
0 votes
0 answers
222 views

Send Solana Transaction directly to the current and next Leader (0.5 SOL bounty)

I need to send a transaction directly to the scheduled validator bypassing the rpc. Solana has upgraded to using QUIC, so I need a nodejs client that I can use to send transactions directly to the ...
kc.sol's user avatar
  • 3
0 votes
1 answer
160 views

SPL token transactions check

I figured out how to make my token and check incoming applications in the solana network with the usual transfer of solana. But how do I track an incoming transfer with a certain amount of my token to ...
Atr118's user avatar
  • 21
0 votes
1 answer
59 views

A special private key that can be used to make a TX to a certain wallet ONLY

I want to be able to achive this: a private key or its substitute (P) of a user wallet is stored on a server there're 100s of user wallets there, so there're 100s of (P) too server isn't a safe ...
nicholas.fowler's user avatar
1 vote
1 answer
41 views

Why aren't SPL token TXs included in getSignaturesForAddress(...)?

For instance: https://solscan.io/account/2LshMLoR8QJkuAv7m6xAs4tYaS5XTfF4Yame21f1Ls9o Currently, there're 6 TXs on the main tab. On the SPL Transfers tab the most recent TX with USDC ($1100) was made ...
Nondi's user avatar
  • 15
0 votes
1 answer
78 views

How to parse changes of the balances in json of a TX?

I sent 0.13 SOL from one ordinary wallet to other. There's been no interraction with a smart contract, nor was it a token but SOL sent. Here's a part of a TX in its raw form which I've obtained via ...
Nondi's user avatar
  • 15
1 vote
1 answer
94 views

How to create, sign and send transaction to Magiceden program

I have Magiceden API bearer token and using the buyNow endpoint Which return Buffer data as in the picture. I tried to create the Transaction like this: const transactionME = Transaction.from(Buffer....
CryptoTioSam's user avatar
0 votes
1 answer
79 views

Invalid account data on multisig token transfer from nodejs

I have a multisig address with 3 other signers. Not sure if this was created with cli or serum project (the developer that created it is working anymore). When trying to transfer a token, I get this ...
recoverySol's user avatar
2 votes
2 answers
443 views

How to ensure that a transaction is successful?

I am sending transactions using the Solana web3js library: sendRawTransaction confirmTransaction w/ "confirmed" commitment. Although, how would I check that the tx was actually successful?
Burger Bob's user avatar
  • 1,256
1 vote
1 answer
3k views

How would I write a transaction that would let me swap on raydium?

https://solscan.io/tx/5oWH7ReHYBy3YNExFMcHCBP7a2yLdF9EXGqYSC9nPEJRsriVMFG4KKF2BGh3yD6A4MGMZ84LTyYQC5TMG7txyycn For example, here's a transaction that is swapping on raydium, how do I write one of my ...
Sid's user avatar
  • 141
0 votes
0 answers
52 views

What to make of solana metrics logs for quic client

As some context to my issues, I have the solana metrics crate printing logs whilst trying to send transactions from a rust client. Is there any information regarding to the nature of the various ...
guillermo's user avatar
2 votes
1 answer
121 views

Get transaction before confirmation

I want to know a way to get the transaction details just after the transaction. For instance i transfer some sol from one address to another and in response i get the transaction hash. In the very ...
Haris's user avatar
  • 31
0 votes
0 answers
45 views

i got this error: Signature verification failed

here is my program: https://beta.solpg.io/642c297867edfe0f00106a00 and here is my code: const anchor = require('@project-serum/anchor') const { web3 } = anchor const { SystemProgram } = web3 const ...
MethyllC's user avatar
2 votes
1 answer
125 views

Expected 32 bytes

I am working on helium-Solana migration and writing a script for claiming a reward for all NFTs on the Solana chain. here is my code. But here I am getting this error while running the script. ``` ...
Pankaj's user avatar
  • 51
2 votes
2 answers
1k views

Blockhash not found when sending transaction

I'm attempting to create a website that allows a user to send a payment for a service. In order to send a transaction on behalf of the user, I have them sign the transaction,which is then serialized ...
tepefew's user avatar
  • 77
3 votes
1 answer
1k views

How to properly "wait" for a transaction to confirm?

What I have tried I've previously used the @web3/solana npm package, but ended up having to create my own (private) library due to using a niche language. Here is what I'm trying to do: Serialize and ...
tepefew's user avatar
  • 77
4 votes
2 answers
407 views

How to increase the maximum encoded size of a VersionedTransaction?

When trying to send a VersionedTransaction: let signature = await conn.sendRawTransaction(transaction.serialize()) I am getting the following error: error SendTransactionError: failed to send ...
Alwin Helor's user avatar
0 votes
2 answers
92 views

Paying rent for accounts when initialising as the developer

I am trying to work out a gasless solution for transactions. Currently partially signing a transaction with the octane core Sdk works for normal transactions but for transactions with instructions ...
Anish De's user avatar
2 votes
1 answer
49 views

Failing to send SOL from PDA (bidding auction with escrow)

I created an auction with escrow. I succesfully create a campaign account, and can do the first bid. But I try a second bid, the program should send the previous bid back to the previous bidder. ...
Matti's user avatar
  • 129
2 votes
1 answer
95 views

What is the seed value when doing an unfunded transfer using the solana cli

I am trying to recreate the transfer sol --allow-unfunded-recipient in other sdks. But confused on how this works https://github.com/solana-labs/solana/blob/b8b3d723da8b2d35b948c5e0abb4c37d6d862710/...
Truffle's user avatar
  • 23
1 vote
1 answer
321 views

Getting an error when attempting to send transactions to the TPU from a Rust client

When attempting to send transactions to the TPU from a Rust client using a TpuClient connection, I am encountering the following error: panicked at 'QuicLazyInitializedEndpoint::create_endpoint ...
guillermo's user avatar
1 vote
1 answer
286 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
453 views

Transaction simulation failed: Error processing Instruction 0: insufficient account keys for instruction

I cloned this repo: solana-movie-program and deployed it on Solana Playground. I also cloned solana-movie-client and tried it but I get the error: "Transaction simulation failed: Error processing ...
Lê Văn Thành's user avatar
2 votes
1 answer
293 views

Where are the addresses of the sender and receiver in TX info?

In the data returned by https://docs.solana.com/developing/clients/jsonrpc-api#gettransaction where are the addresses of the sender and receiver?
Kristi's user avatar
  • 23
3 votes
1 answer
638 views

Extract specific information from a transaction

I need to extract this info from a transaction: from, to wallet addresses asset: SOL or a token (what token?) amount transfered block_timestamp I know how to get info of a transaction - https://docs....
Kum's user avatar
  • 107
3 votes
1 answer
98 views

How to match a transaction of incoming tx on blockchain with the one in DB?

I'm working on a TG bot used for exchange of crypto <-> fiat. Each customer is assigned a wallets which he is to send coins to, however he wants to, priour to receiving fiat. The same wallet ...
Kum's user avatar
  • 107
1 vote
2 answers
168 views

Send transaction at a specified future slot

Is it possible to send a transaction at a specified slot in the future? I have tried playing around with the minContextSlot variable in the send transaction config options, but that seemingly will ...
guillermo's user avatar
1 vote
1 answer
324 views

How do I transfer the SOL on my token account?

I have a token account (example: https://solscan.io/account/3HJdseEK7G8cDEcDQPNmt5z1TuVb5AjCPxvqJCpkskbQ?cluster=devnet) and accidentally sent some SOL to it. I want to transfer this out to my SOL ...
Dav's user avatar
  • 11
1 vote
2 answers
639 views

WalletSendTransactionError: failed to send transaction: Transaction simulation failed: Blockhash not found

When I am trying to send SOL using sendTransaction function it gives me below error WalletSendTransactionError: failed to send transaction: Transaction simulation failed: Blockhash not found Code: ...
Vraj Desai's user avatar
1 vote
1 answer
387 views

How to specify options for Connection.sendTransaction() for VersionedTransaction?

I'm trying to specify skipPreflight in sendTransaction method the next way: await connection.sendTransaction(transaction, { skipPreflight: true, }); where transaction is VersionedTransaction. ...
bathord's user avatar
  • 11
0 votes
1 answer
112 views

skip_confirmation returning TXID

I'm using a Python library solana-py to send Solana transactions. My question is, if I use skip_confirmation=False in TxOpts for the opts for the transaction, if the tx fails, will the ...
Maxisy's user avatar
  • 33
2 votes
1 answer
108 views

can i send identical transaction without api ME

Do I need to get instructions via the Magiceden api to send such a transaction solscanlink - link
plugarea's user avatar
3 votes
1 answer
180 views

Phantom: WalletSendTransactionError: Something went wrong nextjs

Code works in dev version In production: Error description: Phantom - RPC Error: Something went wrong. {code: -32603, message: 'Something went wrong.'} In server side: const { blockhash } = await (...
Yaryna Gushuley's user avatar