Jito Bundle
JitoBundle Object Documentation
The JitoBundle class represents a bundle of Solana transactions submitted via Jito, a Solana MEV (Maximal Extractable Value) infrastructure. It extends EventEmitter to enable event-driven tracking of bundle confirmation status.
Methods
isLanded
isLandedDescription Waits until the bundle reaches the specified confirmation level or fails.
Signature
public async isLanded(confirmationLevel: ConfirmationLevel = "confirmed"): Promise<BundleUpdate>Parameters
confirmationLevel(ConfirmationLevel, optional): The required confirmation level. Defaults to"confirmed".
Returns
Promise<BundleUpdate>: Resolves with the bundle update when it reaches the required confirmation level.
Throws
Error: If the bundle fails to land or times out.
getSignatures
getSignaturesDescription Retrieves the transaction signatures included in this bundle.
Signature
Parameters
None.
Returns
string[]: An array of transaction signatures in the bundle.
getBundleId
getBundleIdDescription Retrieves the unique bundle ID.
Signature
Parameters
None.
Returns
string: The unique identifier of the bundle.
getTransactions
getTransactionsDescription Fetches the full transaction details for all transactions in the bundle.
Signature
Parameters
None.
Returns
Promise<RoboqoTransaction[]>: An array ofRoboqoTransactioninstances containing details of each transaction.
Last updated