Skip to main content

Questions tagged [simulate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
42 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,041
0 votes
0 answers
137 views

simulate transaction error

trying to simulate a swap transaction using jupiter for the quote + serialized swap tx the error im getting is: {'jsonrpc': '2.0', 'result': {'context': {'apiVersion': '1.17.21', 'slot': 250049932}, ...
user9116's user avatar
1 vote
1 answer
728 views

Simulating a buy/sell transaction

I just need some direction in figuring out how to simulate a buy/sell transaction of an spl token. example token: G33s1LiUADEBLzN5jL6ocSXqrT2wsUq9W6nZ8o4k1b4L i've messed around with solana-py/solders ...
user9116's user avatar
2 votes
1 answer
514 views

Error: rpc simulateTransaction error while trying to fetch quotes from Ray

For more context, this is for a trading bot being built around Jupiter swaps Raydium swaps using the Ray sdk I often get this error while trying to fetch quotes from Ray. And usually if I just fetch ...
Sid's user avatar
  • 141
2 votes
1 answer
318 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
  • 125
1 vote
1 answer
347 views

simulateTransaction and accounts

I am trying to use simulateTransaction passing account to receive the post balance of those accounts but I am only getting the post balance of the main account not token accounts. I have tried with ...
Marco Ordoñez's user avatar
0 votes
2 answers
120 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
1 vote
0 answers
229 views

solana-py simulate transaction without signatures

i am using the solana-py lib and tried to simulate a given transaction that is not signed. Although the simulate_transaction() call has the argument sig_verify with the default being False already, i ...
leanm's user avatar
  • 76
1 vote
2 answers
231 views

How to use simulateTransaction without having valid signatures

in my program i have a function which mutates some accounts and calculate a value A, i was retrieving this value by parsing the logs, but the issue is on the UI side it requires a signature from the ...
Nabeel Naveed's user avatar