How can I send these transactions/bundle them as one transaction and send them?


1 Answer 1


You can use the sendBundle RPC endpoint from Jito for this. From their docs:

Submits a bundled list of signed transaction(s) (base-58 encoded string) to the cluster for processing. The transactions will be atomically processed in order, meaning if any of the transactions fail, the entire bundle won’t be processed (all or nothing). Please note that a tip is necessary for the bundle to considered.

A tip can be any instruction, top-level or CPI, that transfers SOL to one of the 8 tip accounts. Clients should make sure they have balance and state assertions that allow the tip to only go thru conditionally, especially if tipping as a separate tx. If the tip is low, there is a chance that the bundle does not get selected during the auction. You can get the tip accounts using getTipAccounts. Ideally select one of the accounts in random to reduce contention.

In practice this then looks like so (example from the docs as well):

curl https://mainnet.block-engine.jito.wtf/api/v1/bundles -X POST -H curl https://mainnet.block-engine.jito.wtf/api/v1/bundles -X POST -H "Content-Type: application/json" -d '
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sendBundle",
  "params": [

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.