Skip to main content

sendTransaction RPC Method

Loading...

Updated on
Nov 12, 2025

sendTransaction RPC Method

Protect your transactions from toxic MEV threats like sandwich attacks and front-running, by enabling the Solana MEV Protection & Recovery add-on on your Quicknode endpoint. To learn more about MEV and how to protect your transactions on Solana, check out our guide: What is MEV (Maximum Extractable Value) and How to Protect Your Transactions on Solana.

Parameters

transaction
string
Loading...
object
object
Loading...
skipPreflight
boolean
Loading...
preflightCommitment
string
Loading...
encoding
string
Loading...
maxRetries
usize
Loading...
minContextSlot
integer
Loading...

Returns

result
Loading...
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"sendTransaction","params":["ENTER_ENCODED_TRANSACTION_ID"],"id":1,"jsonrpc":"2.0"}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": "2id3YC2jK9G5Wo2phDx4gJVAew8DcY5NAojnVuao8rkxwPYPe8cSwE5GzhEgJA2y8fVjDEo6iR6ykBvDxrTQrtpb",
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free