跳转至主要内容

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

The standard 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.

参数

交易
字符串
正在加载...
对象
对象
正在加载...
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 ,并开始构建
免费开始使用