Questions tagged [transaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

solana-test-validator looses history on restart

I am running a solana-test-validator locally. When shutting it down and restarting it, the balances for accounts persist - so I am sure that not everything was reset. However, transactions which were ...
Butzelino's user avatar
0 votes
0 answers
14 views

transfert de Binance vers Solana [closed]

Raoul Donzé, [email protected] Bonjour, J'ai fait un retrait de 41.06060000 HNT vers solana sur mon compte Binance, pensant les retrouver sur solana dans Binance. Ce n'est pas le cas, J'ai fait ...
Raoul Donze's user avatar
1 vote
1 answer
26 views

Are multiple transfers with a single program instruction actually occurring in sequence?

This question is related to an earlier question I had about having multiple instructions within a single transaction function. Certain transactions seem to be untrackable If there are multiple ...
ZeroNine's user avatar
  • 413
1 vote
0 answers
32 views

Solana Web3js Connection object socket timeout

I have a simple websocket set up to listen to logs. It works, but then when I try to send over the transaction signature to a connection object to parse the instructions from it, it errors out after ...
Jchpto's user avatar
  • 11
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
1 vote
1 answer
40 views

how to get transaction status? [duplicate]

I didn't find the answer in old posts. so I decided to ask again. So. how to get transaction status. having her signature? I tried this. but I always got null or error // not working const ...
slntrx's user avatar
  • 97
1 vote
1 answer
38 views

solana signature verification

solana transaction signature verification i proposal many method to verify signature and when ever i trigger fn result always same to "false" let node_client = RpcClient::new("https://...
deadlium's user avatar
-2 votes
0 answers
15 views

Je n'ai pas reçu [closed]

Bonjour je rencontre un problème sur ma première transaction pouvez vous m'aider s'il vous plaît
Tanguy lechanoine's user avatar
0 votes
1 answer
38 views

Solana Transactions using Solders object has no attribute 'recent_blockhash'

below is the python code i wrote to try to engage the logs of a deployed program... for the life of me i dont know why i keep getting An error occurred: 'solders.transaction.Transaction' object has no ...
Dino Anastos's user avatar
0 votes
0 answers
83 views

Majority of TXs are dropped by RPC

While hosting a non-voting validator (RPC node) I noticed that a majority of TXs sent to it are being dropped, the RPC node starts with the following args: --identity ~/validator-keypair.json --...
Dawg's user avatar
  • 1
2 votes
3 answers
69 views

signTransaction removes partialSigned signatures making it impossible to sign a partial signed transaction using wallet adaptor

Problem Create instruction in backend server and partial sign it with a private key Serialize the transaction and send it to the Frontend Frontend deserialize transaction, and signs with the wallet ...
benjamin hon's user avatar
0 votes
0 answers
14 views

My wallet has been giving me an error for several days.....What I Have to do?

My wallet has been giving me an error for several days...this is not acceptable. I'm trying to move my USDC to SOLANA. I've been trying for several days. that I have to do?.
jose manuel's user avatar
1 vote
1 answer
86 views

My wallet is hacked... whenever sol or any token is sent it get drained instantly

my wallets was hacked like 11 months ago maybe seed was compromised. Gn8crAJsHYNf1ELT8x7EeecbELGTGngyfjRKSeLMyQyF 643BzCV3TCvfb2aC6biZHQWH8oCMK4HbDuUUbmiJYNHi ...
shamanth V's user avatar
0 votes
0 answers
47 views

My wallet is hacked... whenever sol or any token is sent it get drained instantly

my wallets was hacked like 11 months ago maybe seed was compromised. Gn8crAJsHYNf1ELT8x7EeecbELGTGngyfjRKSeLMyQyF 643BzCV3TCvfb2aC6biZHQWH8oCMK4HbDuUUbmiJYNHi ...
shamanth V's user avatar
0 votes
1 answer
60 views

Sol Balance oddity after buy transaction

I am trying to understand the SOL balance changes in transactions. Solscan shows on the main overview page that 0.001 SOL was used to buy a token and that is the amount that i passed to the Liquidity....
Peter Folsom's user avatar
0 votes
1 answer
42 views

How to deserialize a transaction hex to a readable object(or a json object) with Java language

Assuming I have a serialized transaction in hexadecimal, how can I deserialize it in Java?
Kevin's user avatar
  • 1
1 vote
1 answer
125 views

Best practice check for successful transaction using web3.js

On Solana, what would be the most reliable way to get 100% certainty that a trade done with web3.js was successful? More specifically i use the raydium sdk function: const { innerTransactions } = ...
Peter Folsom's user avatar
0 votes
0 answers
12 views

Hotspot collection. But balance is not changing in the wallet

My Hotspot device is collecting ok and i am able to connect and receive collected iot. But my balance is not changing in the wallet. What's happening?
Dave Mills's user avatar
2 votes
1 answer
96 views

Does changing wallet balance using try_borrow_mut_lamports really perform a transaction?

In an anchor based project, I've seen something like this in an instruction: **user_pda_account.to_account_info().try_borrow_mut_lamports()? -= amount; **transfer_to.try_borrow_mut_lamports()? += ...
Amir reza Riahi's user avatar
3 votes
1 answer
60 views

Confirming a transaction solana playground

I am new to solana development working through the playground hello world tutorial. What is the right hash needed for "solana confirm -v <Transaction_hash>"? I have built and deployed ...
user8001's user avatar
2 votes
1 answer
132 views

How to do correctly calculate computing budget?

I am executing time-sensitive transactions (swaps between coins). Before executing the transaction I am fetching the price. However since there is so much movement in that market my transactions fail ...
Eric Goerens's user avatar
2 votes
1 answer
64 views

Transaction ID through Websocket

Is it possible to receive the latest transaction id from a wallet using websocket?
user7771's user avatar
5 votes
1 answer
208 views

Is there a program that offers an instruction to assert on the oracle price of an asset?

I want to create a transaction that will succeed only if the price of a certain asset is greater than or equal to some value. Essentially, I want to add an instruction to the transaction that will ...
steveluscher's user avatar
  • 2,355
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
35 views

Unable to track balance for recent transaction from Phantom wallet through a website

I went to Orbitt.pro website menu tab, selected "buy on Raydium" using Solana through Raydium, received Solscan confirmation but no balance is reflecting in my Phantom wallet and I don't see ...
JGregg's user avatar
  • 1
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
2 votes
1 answer
188 views

custom error 27 during simulate transaction

I keep getting this error and totally lost, can someone please help? The code is in python, i am using raydium pool keys to send a simulated transaction so i can calculate the price for my swap. ...
kokiez's user avatar
  • 95
0 votes
2 answers
73 views

How to send SOL through a wallet that has become the token address of a token?

I have all the privatekey and phrase key. i try to send the sol using phantom and solflare but i got the error "Transaction simulation failed: this account may not be used to pay transaction fees ...
Rasmus's user avatar
  • 1
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
89 views

Solana sing failing - keypair-pubkey mismatch

I'm trying to create a swap transaction using the Jupiter API, and all seems to be done correctly until the part where I have to sign the transaction, it just fails and for me makes no sense since I'm ...
Jorge Brib's user avatar
0 votes
0 answers
175 views

How to get token balance change details for a transaction?

Given a transaction signature, and using Python, is it possible to generate a table of token balance changes for that transaction of the form (token, from, to, amount), without using the ...
data-adventure's user avatar
1 vote
1 answer
519 views

Decoding Transactions

I am learning how to decode solana transactions, how do i decode it like sol scan to get the instructions/swaps for tokens such as raydium? I see a programIdIndex and data, the data is base58 decoded ...
wonton's user avatar
  • 21
0 votes
0 answers
874 views

How can I listen to burn or token LP lock events on sol chain

I have been trying to get onchain events or messages regarding to token LP lock and burns, I have tried using the json rpc api, I listened to the response for hours but i couldn't find any burn or ...
Jack Bryan's 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
1 answer
207 views

How to send versioned transaction from bytes

I am using Magic Eden's API to generate a buy transaction, and it returns the bytes of the transaction. I'm using Python, solanapy and solders to send the transaction. However I don't know how to ...
RiadZX's user avatar
  • 21
4 votes
1 answer
156 views

When does a transaction expire?

The docs contradict themselves on this in a number of places. Which of the following most accurately describes when a transaction expires? a) after 150 blocks have been appended to the chain after the ...
user6937's user avatar
0 votes
1 answer
33 views

solanaWeb3 : with only js Make a transaction , Require js, simple js

I am trying to make a simple transaction, I have created an app that connects to wallent , send to another wallet, I have the public key const merchant = new solanaWeb3.PublicKey('...
Artashes Baghdasaryan's user avatar
0 votes
0 answers
107 views

Kamino "Multiply" -> lost funds?

Today I tried interacting with the Solana ecosystem using Kamino : https://app.kamino.finance/ More accurately, I used the "Multiply" feature. I chose to depisit 0.07 SOL and left the ...
user6870's user avatar
1 vote
3 answers
127 views

USDT tokens accidentally sent to off-curve SPL token account

I sent some USDT-SPL from Huobi (HTX) directly to my main Solana address. DXu4QfQa3LdVp6ZTw1u7odR1rV95rUiR8XWtUw2yCWv8 This seems to have invoked a program to create a USDT-SPL token account, which is ...
borislvboris's user avatar
0 votes
1 answer
63 views

How can i get the events emitted from a transaction ID in rust client?

I am trying to fetch the events emitted in a transaction so that i can parse the data and use it on the client. But wondering on how i can fetch it on the anchor client in rust since i couldnt find ...
Dhruv D Jain's user avatar
0 votes
1 answer
38 views

In the basic Solana network, which parties have access to which data?

When trying to reason about whether SOL transactions provide certain types of privacy, it would be very helpful to have a complete list of the information accessible to each party in the basic (...
SapereAude's user avatar
1 vote
1 answer
213 views

How to properly deserialize encoded transaction?

// Sign the transaction const feePayer = USER_KEYPAIR; const deserializedTx = Transaction.from(Buffer.from(swapTransaction, 'base64')); deserializedTx.partialSign(feePayer); const ...
omm's user avatar
  • 27
1 vote
1 answer
85 views

Is it possible to remove signatures from a Transaction

I have a Transaction object which has three signatures. I want to remove one of them. Is that possible? Since it's an array, I've tried using pop but that isn't updating it. Any ideas on how I could ...
Jimii's user avatar
  • 1,438
1 vote
2 answers
60 views

How to construct a VersionedTransaction from raw bytes?

For context, this question is in the context of a typescript browser client. How can I construct a VersionedTransaction from an input of raw bytes of a transaction? With legacy Transaction, I can just ...
michaelsulistio's user avatar
1 vote
2 answers
447 views

Solana/web3.js - Problems with confirmTransaction

I'm having trouble using confirmTransaction properly. I expect that the call won't return until the conditions are met (either it is confirmed or blockheight exceeded). However, I frequently get a ...
Someone's user avatar
  • 43
0 votes
1 answer
60 views

Getting different Buffers in Solana transactions. The front-end and back-end transactions are different

I have a Solana dApp that requests tokens from a wallet that I own. When the user try to claim the Tokens, one transaction is created on the frontend and signed by the user; the signature is coded and ...
ZuckOFB's user avatar
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
2 votes
1 answer
24 views

Can another wallet pay for, Sign and Send transaction signature of another Keypair

if i create a custom instruction that requires a Keypair can another Keypair or client wallet sign or pay the transaction fees of said instruction please also explain how such things work.
Alex's user avatar
  • 51
5 votes
1 answer
42 views

Does how recent your blockhash matter in regards to how quickly a transaction is confirmed?

Does how recent a blockhash is matter? Do the validators do any sorting to make sure the majority of transactions get executed or avoid a larger percentage of transaction expiration?
Jacob Creech's user avatar
  • 3,439