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

Description 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

Description Retrieves the transaction signatures included in this bundle.

Signature

public getSignatures(): string[]

Parameters

  • None.

Returns

  • string[]: An array of transaction signatures in the bundle.


getBundleId

Description Retrieves the unique bundle ID.

Signature

public getBundleId(): string

Parameters

  • None.

Returns

  • string: The unique identifier of the bundle.


getTransactions

Description Fetches the full transaction details for all transactions in the bundle.

Signature

public async getTransactions(): Promise<RoboqoTransaction[]>

Parameters

  • None.

Returns

  • Promise<RoboqoTransaction[]>: An array of RoboqoTransaction instances containing details of each transaction.

Last updated