Questions tagged [transaction-instructions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 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
1 vote
1 answer
42 views

Seahorse Error: Transaction Simulation Error

Its a CRUD app on seahorse. Its getting built and deployed but having errors in interacting with it. anchor version 0.28.0 Seahorse version 0.2.7 solana-cli version 1.16.0 Here is the program from ...
Savior's user avatar
  • 11
0 votes
0 answers
33 views

Question from novice investor: Solana (SOL) and SOLNA/USDT token - is it the same?

I have invested in the SOLNA/USDT token on https://www.solcoinieo.com website and I am unable to withdraw my money right now due to a lack of KYC verification. There is no support service on this site....
Mikhail Klyuchinsky's user avatar
0 votes
0 answers
20 views

How to go from solana_transaction_status::UiCompiledInstruction accounts: Vec<u8> to Vec<String>?

My initial input is a EncodedConfirmedTransactionWithStatusMeta (see struct doc). Then I am parsing instructions of type UiCompiledInstruction (see struct doc). The struct has a field accounts of type ...
bamboofighter's user avatar
3 votes
1 answer
44 views

How to view movements between accounts inside a transaction?

Is there a technical way to see the movements between accounts that are generated during a transaction? For example, for this transaction from the devnet, all I can see is the balance of accounts ...
doudweb's user avatar
  • 31
2 votes
1 answer
60 views

System Program: Withdraw Stake from delegated stake account

I'm struggling with understanding of what's happened in tx 1GQA7ZcU63Wqm5gUUkhCnKa8dwzwK91c5bEPKcUvesgmkbauU5nH865PKXkUhD8s8HmTV1URtDG6WqYN3h9z5ET As I can see, System Program: Withdraw Stake was ...
Gohnny's user avatar
  • 23
1 vote
2 answers
48 views

Find collection in a Sharky offer loan transaction

I'm trying to analyze a transaction for the NFT Lending protocol Sharky.fi. This txn for example : Cm4pCJFCKQzmtuZ254itotMokhK8X6zs7YfeWKYE6i8kpaowZ3XzUPWJbhvvcoZ6KxULP79PEBy8A3P4nmPpkgg We have an ...
Oppty's user avatar
  • 21
2 votes
1 answer
214 views

How to solana pay transaction request for nft minting

It'll be really helpful if someone guide me how to implement transaction request for NFT minting
subhajit das's user avatar
2 votes
1 answer
118 views

How to get result of a previous instruction within a transaction

How could we get the result of a previous instruction within a transaction with multiple instructions? Say we are swapping a token on an AMM and so we are uncertain of the amount of tokens we are ...
guillermo's user avatar
4 votes
2 answers
783 views

getConfirmedTransaction return error Transaction version (0) is not supported by the requesting client

I am getting an error for these transactions: 3D5pNo4kAC3LRJi5JyVMiCBAhj1DKeujsfS7q2rvQwXX7kkUVPZX9j2wHVHDjpwhNPYH75fEPWThw8a7SG84pH8E ...
user2946's user avatar
2 votes
2 answers
101 views

Whats the highest number of sol-transfers you can pack into one transaction?

I know Solana has a size limit on transactions. If I wanted to distribute solana from one account to hundreds of accounts, what would be the fastest way to go about it, in as few transactions as ...
Helix Development's user avatar
2 votes
1 answer
92 views

No Transaction.from equivalent in Rust

I want to be able to get my transaction from a base-64 encoded buffer to later send and confirm. I have a working example in Javascript, but I need an equivalent of the Javascript code in Rust. Here ...
DiaRar's user avatar
  • 123
2 votes
1 answer
88 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
1 vote
0 answers
36 views

How to have a single transaction that enables a custom program to verify two partial offline signers?

I need a single transaction that allows a custom program to verify that two signers are who they say they are: signer1: create, sign, serialize transaction and send to signer2. signer2: deserialize, ...
DevelopingJoku's user avatar
1 vote
2 answers
59 views

How to validate that partially signed transactions aren't malicious?

Taken from https://solanacookbook.com/references/offline-transactions.html#partial-sign-transaction If Alice is the fee payer and has to sign the transaction, how does she know that Bob hasn't ...
DevelopingJoku's user avatar
4 votes
2 answers
4k views

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

Getting this error and I know its regarding rent is less or something like that, but how to solve this? by adding more tokens to the program id?? const tx = await program .methods .vote(...
Satyam Kulkarni's user avatar
1 vote
1 answer
79 views

Serialize float, int, Pubkey data using web3 js

I am trying to pass parameters of types: float, int, bool, pubkey to Solana anchor program instructions from web3js library #[account] pub struct Parent { pub field1: String, pub field2: u8, ...
Vivek's user avatar
  • 121
4 votes
1 answer
121 views

Correlate the instructions of the innerInstructions

I get the parsed transaction from Solana (getParsedTransaction) and I would like to specifically parse the instructions and their corresponding innerInstructions. How can I know that my ...
Swifty's user avatar
  • 398
1 vote
0 answers
67 views

How to encode transaction instruction data from an Anchor program?

I'm trying to encode the transaction instruction data from Anchor using the documentation (https://docs.solana.com/developing/clients/javascript-api#interacting-with-custom-programs) but this is not ...
JulienRioux's user avatar