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
isLandedDescription 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
getPositionsDescription Retrieves the positions associated with the transactions in this bundle.
Signature
public getPositions(): SolanaPosition[]Parameters
None.
Returns
SolanaPosition[]: An array ofSolanaPositioninstances corresponding to each transaction.
getSignatures
getSignaturesDescription Retrieves the signatures of the transactions in the bundle.
Signature
public getSignatures(): string[]Parameters
None.
Returns
string[]: An array of transaction signatures.
getTransactions
getTransactionsDescription Fetches the full transaction details for all transactions in the bundle.
Signature
public async getTransactions(): Promise<RoboqoTransaction[]>Parameters
None.
Returns
Promise<RoboqoTransaction[]>: An array ofRoboqoTransactioninstances containing the details of each transaction.
Last updated