跳至主要內容

sendTransaction RPC Method

載入中...

更新於
Aug 27, 2026

sendTransaction RPC Method

You can protect your transactions from toxic MEV threats like sandwich attacks and front-running by enabling MEV protection. To know more on how to enable it, check out our MEV Protection documentation. For an in-depth guide on MEV, see What is MEV (Maximum Extractable Value) and How to Protect Your Transactions on Solana.

用途 sendTransaction when you want a single RPC call that:


  • broadcasts your signed transaction
  • optionally runs preflight simulation to catch common failures
  • optionally retries submission during congestion

該標準 sendTransaction RPC method available through our Core API provides reliable transaction submission through Quicknode's globally distributed infrastructure. sendTransaction leverages our optimized node architecture to propagate your transaction to the Solana network efficiently.

Stake-Weighted Quality of Service (SWQoS) applies when transaction best practices are followed, as outlined in Quicknode’s Solana transaction guidelines.

Best for: General-purpose applications, development environments, and standard dApp operations where consistent, reliable performance is needed without specialized requirements.

參數

transaction
字串
載入中...
物件
物件
載入中...
skipPreflight
布林值
載入中...
preflightCommitment
字串
載入中...
encoding
字串
載入中...
maxRetries
usize
載入中...
minContextSlot
整數
載入中...

退貨

結果
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"result": "2id3YC2jK9G5Wo2phDx4gJVAew8DcY5NAojnVuao8rkxwPYPe8cSwE5GzhEgJA2y8fVjDEo6iR6ykBvDxrTQrtpb",
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": "2id3YC2jK9G5Wo2phDx4gJVAew8DcY5NAojnVuao8rkxwPYPe8cSwE5GzhEgJA2y8fVjDEo6iR6ykBvDxrTQrtpb",
4
"id": 1
5
}
還沒有帳號嗎?
endpoint 幾秒鐘endpoint 建立您的Quicknode endpoint ,並開始建置
立即免費開始使用