Skip to main content
5 votes
Accepted

What is the minimum amount of CUs a Solana transaction must process?

Depends on how deep you want to go. I won't be able to give an exact number, but hopefully a picture can be painted here. Theoretically the very minimum would be 1 CU (to my knowledge every ...
Joey Meere's user avatar
  • 1,425
4 votes

Are Transactions executed before they're forwarded?

Currently, transactions are in fact executed before they're sent out to the rest of the network. The main reason for this design is to allow the leader to validate all fee payers in a block, so they ...
Jon C's user avatar
  • 15.8k
4 votes

What is the minimum amount of CUs a Solana transaction must process?

If your program just calls exit, then it's possible for the program to only take 1 CU. Currently, there's no CU cost to instruction data, loading account data, or taking write locks, but that might ...
Jon C's user avatar
  • 15.8k
3 votes

Tx sign: WalletSendTransactionError: Unexpected error

Is systemProgram: PROGRAM_ID, the system program ID - 11111111111111111111111111111111? import { SystemProgram } from "@solana/web3.js"; const instructone: TransactionInstruction = await ...
Jimii's user avatar
  • 3,460
3 votes

sendTransaction() fails with signature must be base58 encode

This is a shot in the dark, but since your script is trying to do multiple things at once, and the third step depends on the second step having been confirmed, you might just need to change the ...
Jon C's user avatar
  • 15.8k
3 votes

how to make your dapp (frontend application) trustable for solana transactions

For phantom wallet try using this: Change your dApp to use the signAndSendTransaction method. Information about this method can be found here: https://docs.phantom.app/phantom-deeplinks/provider-...
Mr. J's user avatar
  • 146
3 votes
Accepted

Raydium error: Transaction instruction index 0 has undefined program id

I think you use the API of the SDK in "a wrong" way. The instruction object you get from the makeCreateMarketInstruction(...) is not a set of instructions that can be passed to Transaction....
chalda's user avatar
  • 1,207
2 votes

How to send transaction bundles?

You can use the sendBundle RPC endpoint from Jito for this. From their docs: Submits a bundled list of signed transaction(s) (base-58 encoded string) to the cluster for processing. The transactions ...
Ahri's user avatar
  • 4,152
2 votes
Accepted

What is an Address Lookup Table (ALT/LUT/Lookup Table)?

LUTs allow you to store up to 256 addresses (e.g. abcdef and ghijkl) onchain in a special account so that you don't need to pass the whole 32 byte addresses in your transaction when referring to ...
Ahri's user avatar
  • 4,152
1 vote
Accepted

Decoding solana transaction data

Im using this repo: https://github.com/rckprtr/pumpdotfun-sdk import bs58 from "bs58"; import idl from "../../src/IDL/pump-fun.json"; import { BorshCoder, } from "@coral-xyz/...
rckprtr's user avatar
  • 51
1 vote

"Error:encoding overruns Uint8Array" when sending transactions?

The 1232 limit is fixed, the only way you can get around that is to make your transaction smaller. One way to achieve this is using Address Lookup Tables. If this isn't enough/isn't applicable to your ...
Ahri's user avatar
  • 4,152
1 vote

Sending transaction that expiry early instead of 150 blocks validity

This is a bit of a hack, but rather than using getLatestBlockhash, you can fetch the recent blockhashes sysvar account and use any one of the old values: https://explorer.solana.com/address/...
Jon C's user avatar
  • 15.8k
1 vote

Sending transaction that expiry early instead of 150 blocks validity

You could possibly try sending an older blockhash. It still has to be within the last 150, but if you, for example, send a blockhash that was 100 slots ago, then it will be valid for only 50 blocks.
kxtof's user avatar
  • 11
1 vote

sign an instruction on the frontend, another on the backend for the same transaction

You have to first use the @solana/web3.js library to create a transaction in backend, add appropriate instructions, sign it if needed using local keypair, then encode it in base58/base64, send it to ...
Syed Aabis Akhtar's user avatar
1 vote

Frozen Account (cant sell or access token)

The error message you encountered, "Instruction #4 Failed - Account is frozen," indicates that your Solana account is currently frozen, which prevents you from performing transactions such ...
Shahid H.'s user avatar

Only top scored, non community-wiki answers of a minimum length are eligible