Questions tagged [versionedtransactions]

The tag has no usage guidance.

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

Adding Instruction to Compiled instruction in Python

I'm working with python and have a versioned transaction where the instructions are compiled. To that versioned transaction I need to add a NON compiled instruction somehow. If the transaction is ...
Milan's user avatar
  • 1
0 votes
0 answers
4 views

Decoding Versioned transaction

Versioned transaction are constructed and signed in frontend, and sent to BE, on BE i am trying to decode the instructions present in the compiled transaction, Any way to decode each instruction ...
ashish0411's user avatar
1 vote
1 answer
47 views

Should I use Versioned Transactions instead of Legacy?

Trading on Raydium, I use Legacy transactions, but when I look at Solscan, other traders use Versioned Transactions (here's an example of such a transaction https://solscan.io/tx/...
xallve's user avatar
  • 17
0 votes
0 answers
32 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
0 answers
15 views

Sending transaction using Jupiter integerated terminal

<!doctype html> <html> <head> <meta charset="utf-8" /> <title>Jupiter Terminal</title> <script src="https://terminal.jup.ag/main-v2....
lia's user avatar
  • 1
1 vote
0 answers
61 views

"TransactionExpiredBlockheightExceededError: Signature XXX has expired: block height exceeded" when confirming successful transaction

When attempting to use confirmTransaction using the BlockheightBasedTransactionConfirmationStrategy, the call takes a very long time then errors out with "...
Thomas-Sodon's user avatar
0 votes
1 answer
17 views

is it free to create a LUTs in solana?

Does anyone know the cost of creating lookup address tables on the Solana chain? Is this free? I found description about LUT in solana cook book but not mentioned fee https://solanacookbook.com/...
young seraph's user avatar
0 votes
0 answers
23 views

How do I transfer an SPL token in versioned transaction using web3.js

Trying to make spl-token transfer in a versioned transaction but can't find an example. The logs seem fine, but there are no actual transactions. I'm a newbie, don't be too hard on me please. for (...
AlexV's user avatar
  • 1
0 votes
0 answers
24 views

How to debug versioned transaction

Do web3js have some analog for .sendAndConfirmTransaction(), but for versioned transactions? I have tried to get transaction status by .getSignatureStatus(), but some times transaction didn't got sent,...
Flam3y's user avatar
  • 1
0 votes
0 answers
11 views

unsigned/signed versioned transaction - format I don't know

So there is transaction: (signed) AaW2yW0tyhLIXdgmK8RGvSuYk6HR7twLhh4sKl13uDDw/hoKM6/sXC+uQw4FLFW66nSyUZGofzHJJyXQIbKNWgeAAQADBgSBFG/vZ7BH0uLqDP7F3xctpG+EORzAS1lhFalHTq56fXMFooHXAtUpl/t/mCxTRJ+...
mlodyjano's user avatar
1 vote
1 answer
97 views

How to add new instructions to exisiting VersionedTransaction?

For context, the goal of the code shown below is to take the transaction given by the JUP api for a limit order and adding both the increased compute unit price instruction and a more recent blockhash....
sashavsthewrld's user avatar
0 votes
1 answer
39 views

"Encountering ValueError: *signers args are not used when sending VersionedTransaction in Solana Python Library"

I'm currently working on integrating Solana functionality into my Python application using the Solana Python library. During the process of sending a transaction, I encountered a ValueError with the ...
Cosinus basic function's user avatar
0 votes
1 answer
437 views

Solana TPU client and sending versioned transactions

The solana tpu client (rust) takes a &Transaction argument however I deal with VersionedTransaction's. I would like to know 2 things.. How can I send a VersionedTransaction via the tpu client. ...
MHCH's user avatar
  • 45
1 vote
1 answer
76 views

How to deserialize a Magic Link's versioned transaction?

Getting the following error when trying to send a signed transaction with Magic Link. WalletSignTransactionError: Versioned messages must be deserialized with VersionedMessage.deserialize() Magic's ...
Hyetigran's user avatar
  • 197
2 votes
2 answers
104 views

Recreate a versioned transaction that has no signatures - to be able to update blockhash

I receive a serialized versioned transaction from a 3rd party API that allows me to list NFTs in specific marketplaces. However, when I get the response, transmit it to my front-end, sign it, and send ...
Oguzhan's user avatar
  • 317
1 vote
2 answers
254 views

How do I parse the accounts in a versioned Transaction?

Say I have given a versioned transaction and I want to get the accounts in the same format my smart contract will see it in. How do I do this? Edit: I've tried the below, but this always gives me ...
Ahri's user avatar
  • 3,315
1 vote
2 answers
213 views

How to Add ComputeBudget into Versioned Transaction?

I want to Modify the compute unit for Versioned Transactions but there are some issue with that. Before i Have used it for legacy transaction but now when i want to add new compute unit size to ...
Siavash Soleimanpour's user avatar
1 vote
1 answer
392 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
0 votes
0 answers
589 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
0 answers
43 views

Versioned txes and LUTs on localnet

Attempting to build a LUT fails with 33 is not a recent slot when running on localnet: const slot = await provider.connection.getSlot(); const [createLookupIx, lookupTableKey] = ...
Whiteseal's user avatar
  • 2,941
0 votes
1 answer
64 views

StructError: At path: meta -- Expected an object, but received: null, getTransaction with GetVersionedTransactionConfig

I am getting this error when I call the getTransaction api. Is there any fix for this? Postman returns data but this api always return an error. An example hash would be: "...
Terry Tan's user avatar
1 vote
2 answers
98 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
2 votes
0 answers
375 views

How do I sign and send a versioned transaction using the wallet adapter

I have a versioned Transaction that I want to sign with my wallet and send. Trying to use signTransaction and sendTransaction are giving me the following errors app-index.js:32 ...
Jimii's user avatar
  • 1,468
0 votes
0 answers
483 views

Transaction too large or lock too many accouns on RPC level

I have a scenario where I have my program ix + a 3rd party (Jupyter swap) tx decompiled to ixtructions + another of my instruction, bundled in a single transaction. On my end just before calling the ...
Silviu Troscot's user avatar
0 votes
1 answer
239 views

Setting feepayer of versionedTransaction

I'm using the jupiter swap api (https://station.jup.ag/docs/apis/swap-api) to perform token swaps and they return a versionedTransaction object which I hope to set the fee payer to a specific wallet. ...
Hot Potato's user avatar
1 vote
1 answer
109 views

Using VersionedTransaction in solana

How do i take advantage of versioned transactions for basic solana actions like making a token transfer… my goal is to make the transaction instructions significantly smaller so i can append other ...
iMEF's user avatar
  • 326
1 vote
1 answer
515 views

How to update my code from using legacy transactions to versioned transactions?

I am trying to perform a swap using Jupiter aggregator API. The code below is written based on the examples from Jupiter docs, some parts were taken from other sources. It works, but the issue is that ...
pleyosol'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
0 answers
457 views

WalletSignTransactionError: encoding overruns Uint8Array

Context: I'm building a little feature on my app where users can close multiple ATA & perform swaps on jup protocol. i have tried using regular tx but i have encountered the famous byte size limit....
Avaulto's user avatar
  • 82
4 votes
2 answers
607 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
2 votes
2 answers
516 views

How to obtain transaction innerInstructions as Explorer shows?

I'm a bit confused about additional info in transaction. I need to parse it and handle information from the instruction, but i can't. And what confusing me more - explorer. Explorer knows everything. ...
LizardDog's user avatar
2 votes
1 answer
58 views

CPI too large while using Version 0 TX as inner instruction

I have an instruction that uses more than 1280 bytes that successfully runs as a normal call using Versioned Transactions. When I try to call it as a CPI it gives me a "Inner instruction too ...
Truitt's user avatar
  • 519
1 vote
1 answer
148 views

How can I create the lookup table using PDA

I want to create the lookup table using PDA address which is the offCurve. So, I am getting the error of signature verification fail while making the create lookupTable by PDA I am using this code ...
Aslam's user avatar
  • 423
2 votes
1 answer
508 views

In which version of "@solana/wallet-adapter-react", I can sign and send the vesionTrasactionV0

I need to send the version transaction through phantom wallet, but could not find any method in the current version, how can I send the version transaction?
Aslam's user avatar
  • 423
1 vote
1 answer
267 views

Using Address Lookup table in jupiter

I using Jupiter for swapping. Can I extend Jupiter Address Lookup table, or I should use own lookup table for my addresses ?
Oksana's user avatar
  • 441
0 votes
0 answers
828 views

Getting the error of VersionedTransaction too large

I am getting the error while sending the version transaction encoded solana_sdk::transaction::versioned::VersionedTransaction too large: 1776 bytes (max: encoded/raw 1644/1232) Any clue about this?
Aslam's user avatar
  • 423
1 vote
1 answer
331 views

Adding instruction to jupiter swapTransaction

I using Jupiter v4 for swapping. To SwapInstruction from Jupiter, I add some of my instruction and try to execute the transaction, but receive sometimes error: encoded solana_sdk::transaction::...
Oksana's user avatar
  • 441
3 votes
1 answer
448 views

How can I get the transaction instructions from VerisonedTransaction object

I need to get all the transaction instructions from the Versioned transaction object. Any idea about this?
Aslam's user avatar
  • 423
2 votes
2 answers
365 views

Partially sign a VersionedTransaction in Rust

What's the recommended way to partially sign a VersionedTransaction in Rust?
KevinH's user avatar
  • 422
1 vote
1 answer
72 views

Significantly longer transaction confirmation time for large v0 transactions

I've been using v0 transactions for about two months, but recently (possibly due to BONK related congestion) the transactions have been taking much longer to confirm and frequently drop all together. ...
Truitt's user avatar
  • 519
1 vote
1 answer
328 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
4 votes
1 answer
970 views

Versioned Transaction can't sign or serialize

I'm trying to sign a VersionedTransaction using Solana Wallet Adapter and getting TypeError: Blob.encode[data] requires (length 40) Uint8Array as src My code: const tx = new ...
Dev Bharel's user avatar
3 votes
1 answer
122 views

Error: Invalid Transaction, Transaction version is not supported while trying to send versioned transaction [closed]

I am trying to create a lookup table using this guide for reference. But while trying to send the transaction, like here I am getting the following error npm package versions web3.js - 1.70.1 anchor ...
Muhammed Adil's user avatar
2 votes
1 answer
117 views

Is there a way to build a (v0) Versioned Transaction that references only some of it's accounts from an Address Lookup Table?

As there is a one slot warmup for newly appended addresses to Address Lookup Tables, is there a way to partially use an Address Lookup Table, and then pass any accounts that aren't active in the ...
guillermo's user avatar
1 vote
1 answer
619 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
1 vote
2 answers
214 views

PartilSign VersionedTransaction

I using old Transactions, and use partialSign. First sign on client then sign on servier. Now want to migrate to v0 transactions. Is exists way to partialSign VersionedTransaction ?
Oksana's user avatar
  • 441
2 votes
1 answer
46 views

Using VersionedTransactions with staking

I want to move to VersionedTransaction. But methods like StakeProgram.delegate, StakeProgram.deactivate return Transaction. How to use VersionedTransaction with staking?
Oksana's user avatar
  • 441
3 votes
1 answer
655 views

How combine two versioned transactions?

I receive swap VersionedTransaction from https://quote-api.jup.ag/v3/swap. I want to add some instructions to this transaction. I create addition VersionedTransaction with my instructions but not ...
Oksana's user avatar
  • 441