Skip to main content

sendBundle RPC Method

Submits a bundle of signed transactions (base-58 encoded) to the cluster for atomic processing. If any transaction fails, the entire bundle is rejected. This method relays the bundle to the leader without modifications. If the bundle expires after the next Jito-Solana leader, it returns a success response with a bundle_id, indicating receipt but not guaranteeing processing or on-chain landing. Check the bundle status with getBundleStatuses using the bundle_id.

Updated on
Sep 20, 2024

sendBundle RPC Method

Please note that for this method, a tip is required for the bundle to be considered. The tip must transfer SOL to one of the 8 tip accounts and can be part of any instruction. Ensure sufficient balance and allow the tip to go through, especially if tipping separately. If the tip is too low, the bundle might not be selected. Use getTipAccounts to retrieve tip accounts and choose one at random to reduce contention.
Please note that this RPC method requires the Lil' JIT - JITO Bundles and transactions add-on enabled on your QuickNode endpoint.
Solana Web3.js 2.0 includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate QuickNode Marketplace add-ons into your applications. For more information on how to use QuickNode Marketplace add-ons with Solana Web3.js 2.0, check out these guides: How to Use QuickNode Add-ons using Solana Web3.js 2.0 (Part 1) and How to Use QuickNode Add-ons using Solana Web3.js 2.0 (Part 2)

Parameters

transactions
array
REQUIRED
Fully-signed transactions, as base-58 encoded strings (up to a maximum of 5). Base-64 encoded transactions are not supported at this time

Returns

result
string
A bundle ID, used to identify the bundle. This is the SHA-256 hash of the bundle's transaction signatures
Request
1
curl --location 'https://docs-demo.solana-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '
4
{
5
"jsonrpc": "2.0",
6
"id": 1,
7
"method": "sendBundle",
8
"params": [
9
[
10
"4VbvoRYXFaXzDBUYfMXP1irhMZ9XRE6F1keS8GbYzKxgdpEasZtRv6GXxbygPp3yBVeSR4wN9JEauSTnVTKjuq3ktM3JpMebYpdGxZWUttJv9N2DzxBm4vhySdq2hbu1LQX7WxS2xsHG6vNwVCjP33Z2ZLP7S5dZujcan1Xq5Z2HibbbK3M3LD59QVuczyK44Fe3k27kVQ43oRH5L7KgpUS1vBoqTd9ZTzC32H62WPHJeLrQiNkmSB668FivXBAfMg13Svgiu9E",
11
"6HZu11s3SDBz5ytDj1tyBuoeUnwa1wPoKvq6ffivmfhTGahe3xvGpizJkofHCeDn1UgPN8sLABueKE326aGLXkn5yQyrrpuRF9q1TPZqqBMzcDvoJS1khPBprxnXcxNhMUbV78cS2R8LrCU29wjYk5b4JpVtF23ys4ZBZoNZKmPekAW9odcPVXb9HoMnWvx8xwqd7GsVB56R343vAX6HGUMoiB1WgR9jznG655WiXQTff5gPsCP3QJFTXC7iYEYtrcA3dUeZ3q4YK9ipdYZsgAS9H46i9dhDP2Zx3"
12
]
13
]
14
}
15
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free