Skip to main content

Questions tagged [transaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Recover transaction

I accidentally sent my Tremp coins from my Phantom wallet to my Solana account on Coinbase. Solscan just shows the token sitting at the address I sent it to. Is there a way to recover?
Gman's user avatar
  • 1
0 votes
1 answer
25 views

How can I track all buy and sell transactions that relate to a specific Token address?

I am new to this and have been trying to figure out how to track buy and sell transactions from any specific token address, such as $WIF(dogwifhat). I want to create something similar to the ...
BinaryJ's user avatar
  • 11
0 votes
0 answers
13 views

How to get the innerInstruction of a simulatedTransaction in @solana/web3.js

In the http simulateTransaction there is an innerInstruction flag. How would you be able to get the innerInstruction of a simulatedTransaction using the @solana/web3.js package? I am not seeing it in ...
Solana-dev's user avatar
0 votes
1 answer
31 views

Get a Solana TX to trigger another TX on chain, and wait for that to complete before proceeding to next instruction/step

i know it is possible, but not exactly sure the best implementation currently, whether to use CPI or not, to have a solana tx, execute on chain and have 1 instruction in there effectively execute ...
Bobby Lee's user avatar
0 votes
1 answer
45 views

Check Airdrop eligablity without connecting my wallet

I´ve seen couple Site which can proof if you are eligable for a solana airdrop or not. Im asking how does that actually work in the background. Do they proof if your wallet fill the airdrop ...
Antiboss02's user avatar
0 votes
1 answer
56 views

Block height exceeded - Wormhole - Receiving WETH in Solflare wallet

Sorry if the question has already be submited, but I couldn't find any answer and I'm a bit lost. I can't finalize the transaction to receive WETH from Wormhole (portalbridge.com) on my Solflare ...
Alex's user avatar
  • 1
0 votes
0 answers
54 views

Struggling to get a transaction included in the blockchain using official Solana Rust TPU client

I'm trying to write a proof of concept rust program to try to send a transaction using the TPU client provided by the official GitHub solana repo, with the goal of reducing the time between intially ...
Petar Petrov's user avatar
1 vote
1 answer
35 views

Fetching all signatures of a address

getSignaturesForAddress fetches max 1000 signatures at once, and to fetch all signatures of a particular address, this process becomes sequencial, is there any way to parallelize fetching?
ashish0411's user avatar
0 votes
0 answers
26 views

I want to find Pair Address manually by code in python

Hello let's say this token: TokenA = 8cG1JC9fCwpdZ9ofsEfhKJhBgKhzYCqnbbaKdC9RYw53 Native Token SOL = So11111111111111111111111111111111111111112 pair id on raydium i don't want to use raydium sdk to ...
Shehzad khan's user avatar
1 vote
1 answer
23 views

failed to send transaction: Transaction simulation failed: Transaction results in an account (0) with insufficient funds for rent

Got Error when send All balance from wallet,when i try send all sol balance using Phantom wallet its success, but when i try to send using solana/web3 i got this error : "failed to send ...
Iamvinthanks's user avatar
1 vote
1 answer
24 views

Fetching Transaction Hashes

I'm encountering an issue when retrieving transaction hashes. Essentially, I want to input the token address and obtain all parsed transactions, then filter those addresses that swapped the token on ...
Bobz's user avatar
  • 474
1 vote
1 answer
59 views

What's difference between (TPU) Transaction Processing Unit and (TVU) Transaction Validation Unit?

When reading docs about Solana validator, I stumbled upon these terms, and as far as I understand, both of them are the same hardware, but TPU is when it works in a leader mode, and TVU - when it ...
emilkub's user avatar
  • 23
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
1 vote
1 answer
23 views

How to send a solana instruction with big data?

I want to send a raw data much bigger maybe with a 2048 length. Also I want to pass data as instruction data. While I build the transaction and execute, it told me the size is too big. How can I do ...
xingyue's user avatar
  • 13
1 vote
0 answers
12 views

"TypeError: Invalid parameters." when signAndSendTransaction

have been trying to interact with a program through web3.js in the browser. Here's the code for creating the transaction: const transaction = new solanaWeb3.Transaction(); const instruction = new ...
Aaron Jonk's user avatar
0 votes
0 answers
16 views

Solana sent to me by another person but the transaction sticks, kept showing 'pending'

Solana was sent to me since last week but didn't land into my account yet, it shows 'pending'.
Bukar Hussaini's user avatar
1 vote
0 answers
181 views

invalid transaction: Transaction failed to sanitize accounts offsets correctly

Hope someone can help? We are integrating solana into our interoperable web2/web3 platform called the oasis and having issues minting an nft, we are getting this error: "invalid transaction: ...
Dellams's user avatar
  • 11
0 votes
1 answer
29 views

Can anyone tell me how to get logs of "confirm" transaction not the finalized?

Here is my code: curl https://api.devnet.solana.com -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "...
Shehzad khan's user avatar
0 votes
0 answers
19 views

How to efficiently get all transactions of a particular mint address

How to efficiently get all transactions of a particular mint address, Since transfer doesn't reference to mint address, filtering transaction by mint address doesn't include transfer transaction.
ashish0411's user avatar
1 vote
1 answer
149 views

Listen to sol receive transactions for desired wallet address

I've been trying to listen to all the transactions that my wallet receives but I was not able to... I'm using solana/web3.js with quickNode, I've tried using multiple methods such as getLogs, which ...
Nikoloz Kondratievi's user avatar
0 votes
0 answers
46 views

How can I set Transaction Fee on .net project with Solnet nuget package

I use the Solnet nuget package on my .net application and I cannot assign a custom fee value for any token transfer or sol transfer in this package. After this process, it automatically gives the fee ...
Turgut Kanceltik's user avatar
1 vote
1 answer
159 views

How might I send an 87kb transaction to Solana?

This is part of a Lamport password scheme (no relation to the lamport currency unit), that worked on EVM but is too big for Solana. How can I easily send this kind of transaction to a Solana program? ...
legopowa's user avatar
0 votes
1 answer
56 views

Getting insufficient fee-payer funds whilst I try to transfer spl-token even though I have enough funds in my wallet

Objective: Transferring HNT from one account to another using rust programming language. account details: Both sender and receiver has more than 0.02 SOLs in their account and has enough HNTs to make ...
Mithesh Shankar's user avatar
0 votes
0 answers
15 views

How to obtain unsubmitted transaction information

If I need the fastest way to obtain unconfirmed transaction data, is it through a subscription program to obtain bytes data? Is there a faster way? Also, how can I parse these bytes into transaction ...
lin's user avatar
  • 1
2 votes
2 answers
285 views

How to send tokens to multiple accounts in bulk

I am following the tutorial to send a token to a specific recipient (https://spl.solana.com/token#example-transferring-tokens-to-an-explicit-recipient-token-account). Below is the code that works ...
bigbulb's user avatar
  • 23
0 votes
0 answers
63 views

I attempted to swap from USDC to SOL, never received SOL but USDC is gone

I initiated a swap, for 20 USDC to SOL. The USDC is no longer in my wallet, and there is no additional Solana. The Solscan is as follows: https://solscan.io/tx/...
Taylor's user avatar
  • 1
1 vote
1 answer
521 views

How to subscribe (listen) to SPL token transactions with full data using @solana/web3.js

I've searched a lot and can't find a solution. I want to track SPL token swap transactions to calculate the token price and get information about wallets. I found several solutions, but still have ...
Mike Wazowski's user avatar
2 votes
2 answers
126 views

What's the maximum amount of accounts in a transaction?

As the title says, is there a cap to how many accounts I can access in a transaction?
Ahri's user avatar
  • 3,365
1 vote
2 answers
61 views

Check token account balances before and after simulate transaction

Let's say you're checking out some simulated transactions, with sigVerify set to false, is there some nice way to print out account balances (SPL token and/or Sol) in the simulated transaction ...
Henry E's user avatar
  • 3,051
0 votes
1 answer
143 views

Transaction sended but cannot be found in blockexplorer

I just started using Solana and attempted to send a correct transaction asynchronously and simultaneously. To prevent deduplication, I added a nonce to the number of transactions (for example, when ...
hashll's user avatar
  • 1
0 votes
1 answer
44 views

How can I send to multiple wallets from a single PDA in a single transaction?

Very new at rust and Solana development, hoping to get some advice. I am creating some blockchain functionality for a betting system. Players will bet on the outcome of a certain event by sending the ...
galilei's user avatar
0 votes
1 answer
109 views

How to Efficiently Retrieve the Oldest Transaction Signature for a Solana Address with Billions of Transactions

I'm working on a project where I need to retrieve the oldest transaction signature for a given Solana address. However, I'm facing a challenge when dealing with addresses that have billions of ...
Syntax Surge's user avatar
1 vote
1 answer
432 views

How to track buys and sells from a Token on the solana chain?

i'm trying to track buys and sells from 1 token on the solana chain. But i don't get it properly done to receive every buy and every sell from this token, and get the correct amount of tokens that ...
DarkDoccieDutch's user avatar
0 votes
1 answer
64 views

Issue with staking via wallet adapter

Need to create stake account and then delegate via wallet-adapter in NextJS. Took some code from Solana Cookbook. Getting an issue after accepting transaction in any wallet, crashes at the line ...
Mukhtar's user avatar
  • 43
0 votes
1 answer
48 views

How is transaction fee calculated in details?

There's a similar question here. I've read it but still got some questions. I know the transaction fee is simply lamports_per_signature * number_of_signatures (plus a little miner tip). However, what ...
Yan's user avatar
  • 355
2 votes
1 answer
695 views

How to optimize transaction speed?

I'm currently using a few different paid (shared, not dedicated) RPCs to send txs using sendTransaction() to make some token swaps. The txs take 20-60+ seconds to actually "land" and be ...
01jayss's user avatar
  • 71
0 votes
1 answer
12 views

Implementing Transaction Status Indicators and Block Explorer Links in Solana Applications

I'm looking to add transaction status indicators to my Solana application, indicating whether a transaction is confirmed or not, along with links to the block explorer for further verification. I'm ...
guneyuzel's user avatar
0 votes
0 answers
194 views

Compute-Budget-Set-Compute-Unit-Limit

What does this mean? I try a transaction and it's not going thru and in the transaction in the instructions section it says: Compute-Budget-Set-Compute-Unit-Limit
Irgwins Rodriguez's user avatar
0 votes
1 answer
65 views

Best way to ensure correct SPL token transfers based on a counter

I have a game where, the more time users spend playing, interacting with the environment, etc they earn a number of tokens. As this is happening in real-time, this is currently just an incremented ...
Needleski's user avatar
1 vote
1 answer
177 views

Transaction simulation failed: Account with insufficient funds for rent

I'm encountering an issue while trying to execute a transaction on the Solana Devnet. The error message I'm receiving is: Transaction simulation failed: Transaction results in an account (1) with ...
guneyuzel's user avatar
5 votes
2 answers
1k views

Why is my transaction dropped?

I am trying to figure out why a user needs to approve a tx multiple times in order for it to finally go through. How could I potentially fix this?
Burger Bob's user avatar
  • 1,426
1 vote
2 answers
272 views

Send Jupiter swap tx using Python & Solders

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
1 vote
1 answer
96 views

Is the order of account keys in a transaction signature always the same?

For extra security I want to validate a transaction signature before further processing. I'm getting the TransactionSignature from get_transaction and the json looks similar to this.. { slot: 327,...
ZeroNine's user avatar
  • 475
0 votes
0 answers
236 views

How to fix phantom "Failed to estimate balance changes. This transaction may be unsafe"

I have an issue where I create a transaction on the backend and pay for the transaction fees, then I serialize and send the transaction to the frontend for the user to sign. It works however I get ...
benjamin hon's user avatar
0 votes
1 answer
40 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
1 vote
1 answer
61 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
  • 475
2 votes
0 answers
249 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
  • 21
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
1 vote
1 answer
347 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
  • 111
1 vote
1 answer
65 views

Solana Rust: Signature verification failed

I'm getting Solana transaction signature verification error. I tried many methods but my result is always same, which is "false" Below is my code: let node_client = RpcClient::new("...
deadlium's user avatar