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
isLanded
Description Waits until the bundle reaches the specified confirmation level or fails.
Signature
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
getSignatures
Description Retrieves the transaction signatures included in this bundle.
Signature
Parameters
None.
Returns
string[]
: An array of transaction signatures in the bundle.
getBundleId
getBundleId
Description Retrieves the unique bundle ID.
Signature
Parameters
None.
Returns
string
: The unique identifier of the bundle.
getTransactions
getTransactions
Description Fetches the full transaction details for all transactions in the bundle.
Signature
Parameters
None.
Returns
Promise<RoboqoTransaction[]>
: An array ofRoboqoTransaction
instances containing details of each transaction.
Last updated