simulateBundle
Simulates a Jito bundle without broadcasting it.
https://api.1inch.com/web3/501
Supported on: Solana
Request
Request
object jsonrpc
* string (Enum)JSON-RPC version
2.0
method
* string The method to call
params
array Method parameters
items
any id
* number Request ID
JavaScript
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const response = await fetch('https://api.1inch.com/web3/501', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${API_KEY}`,
},
body: JSON.stringify({
jsonrpc: '2.0',
method: 'simulateBundle',
params: [],
id: 1,
}),
});
const data = await response.json();
console.log(data);
Response
Simulate Bundle Response
Simulate Bundle Response
any Jito add-on payload (QuickNode Lil' JIT). Documented fields are typed, but additional properties are accepted on purpose: the shape is vendor-owned and may gain fields without a Solana spec change, and an over-strict schema here would fail live requests once response validation is enforced. QuickNode and the Jito block engine document two different envelopes for this result, so only the outer type is pinned.
oneOf[0]
null oneOf[1]
object context
object slot
* integer The slot this response corresponds to
apiVersion
string The current solana version running on the node
err
any Error if the bundle failed, null on success
logs
any oneOf[0]
null oneOf[1]
array items
string preExecutionAccounts
any oneOf[0]
null oneOf[1]
array items
any oneOf[0]
null oneOf[1]
object lamports
integer owner
string Base-58 encoded owning program public key
data
any Account data, encoded per the request's encoding parameter
executable
boolean rentEpoch
integer space
integer postExecutionAccounts
any oneOf[0]
null oneOf[1]
array items
any oneOf[0]
null oneOf[1]
object lamports
integer owner
string Base-58 encoded owning program public key
data
any Account data, encoded per the request's encoding parameter
executable
boolean rentEpoch
integer space
integer unitsConsumed
integer returnData
any oneOf[0]
null oneOf[1]
object programId
string data
any Base-64 encoded return data