sendTransaction
This method acts as a proxy to the solana sendTransaction RPC Method. This method will send the transaction received as a regular solana transaction via the solana rpc method and also submit it as a bundle. The bundling and a minimum tip for the bundle would be paid by Jito. Please note that the minimum tip might not be enough to get the bundle through the auction especially in times of high demand. If you use the query parameter, bundleOnly=true, the transaction will only be sent out as a bundle and not as a regular transaction via the rpc.
Parameters
Please follow the guidelines in https://solana.com/docs/rpc/http/sendtransaction#parameters
NOTE: This method always sets skip_preflight=true regardless of the value set by the client. This means the transaction will not be simulated in the RPC before being sent to the leader, as part of the sendTransaction flow. The bundle path however will go thru the auction and normal simulations.
Result
The result will be the same as https://solana.com/docs/rpc/http/sendtransaction#result If sending as a bundle was successful, you can get the bundle_id for further querying from the custom header in the response x-bundle-id
Code sample
The samples are the same found at https://solana.com/docs/rpc/http/sendtransaction#code-sample and the response https://solana.com/docs/rpc/http/sendtransaction#response
Request
Response
Last updated