Solana Bundle

SolanaBundle Object Documentation

The SolanaBundle class represents a collection of Solana blockchain transactions within the Roboqo platform. It provides methods to track confirmation status, retrieve transaction details, and associate transactions with positions.


Methods

isLanded

Description Waits until all transactions in the bundle reach the specified confirmation level.

Signature

public async isLanded(confirmationLevel: ConfirmationLevel = "confirmed"): Promise<TransactionUpdate[]>

Parameters

  • confirmationLevel (ConfirmationLevel, optional): The required confirmation level. Defaults to "confirmed".

Returns

  • Promise<TransactionUpdate[]>: Resolves when all transactions in the bundle reach the required confirmation level.


getPositions

Description Retrieves the positions associated with the transactions in this bundle.

Signature

public getPositions(): SolanaPosition[]

Parameters

  • None.

Returns

  • SolanaPosition[]: An array of SolanaPosition instances corresponding to each transaction.


getSignatures

Description Retrieves the signatures of the transactions in the bundle.

Signature

public getSignatures(): string[]

Parameters

  • None.

Returns

  • string[]: An array of transaction signatures.


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 the details of each transaction.

Last updated