sendTransaction
Solana node API
sendTransaction | Solana
The Solana sendTransaction method submits a fully signed transaction to the cluster for processing. Use it on Solana via Chainstack.
POST
sendTransaction
The SolanaDocumentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
sendTransaction method submits a fully signed transaction to the cluster for processing.
The transaction must be signed and serialized before calling this method. On success, the method returns the first transaction signature embedded in the transaction (base58 encoded), which serves as the transaction identifier.
Warp transactionsChainstack Solana nodes support Warp transactions for faster transaction landing. Warp transactions route your
sendTransaction calls through the bloXroute relay network for optimized propagation to the current leader. See Solana Trader Nodes for details.Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
transaction(string, required) — fully signed transaction, as a base64 or base58 encoded string.config(object, optional) — configuration object containing the following fields:encoding(string) — encoding used for the transaction data. Values:base58(slow, deprecated),base64(recommended). Default:base58.skipPreflight(bool) — whentrue, skip the preflight transaction checks (signature verification and simulation). Default:false. Whentrue, thepreflightCommitmentfield is ignored and the node internally usesprocessed.preflightCommitment(string) — commitment level to use for the preflight simulation. Default:finalized. Ignored whenskipPreflightistrue.maxRetries(integer) — maximum number of times the RPC node retries sending the transaction to the leader. If not provided, the node retries the transaction until it is finalized or the blockhash expires.minContextSlot(integer) — the minimum slot at which the request can be evaluated.
skipPreflight is false:
- Signature verification — confirms that all required signatures are present and valid.
- Transaction simulation — runs the transaction against the bank state at the
preflightCommitmentlevel. If simulation fails, the response returns the same error structure as simulateTransaction, includingerr,logs, andunitsConsumed.
Response
result(string) — the first transaction signature embedded in the transaction, as a base58 encoded string. Use this signature with getSignatureStatuses to confirm the transaction.
error object with simulation failure details including err, logs, and unitsConsumed.
Use case
ThesendTransaction method is the primary way to submit transactions to the Solana network. Common patterns include:
- Build, sign, send — construct a transaction with instructions, sign it with the appropriate keypairs, serialize it, and submit via
sendTransaction. - Preflight simulation — by default, the node runs simulateTransaction before forwarding to the leader. Set
skipPreflight: trueto bypass this check when you need maximum speed (e.g., arbitrage, sniping). - Confirmation polling — after sending, poll getSignatureStatuses until the transaction reaches the desired commitment level.
- Retry with fresh blockhash — if the transaction expires (
TransactionExpiredBlockheightExceededError), rebuild with a fresh getLatestBlockhash and resend. See How to handle the transaction expiry error.
Body
application/json
Last modified on May 18, 2026