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
isLanded
Description Waits until all transactions in the bundle reach the specified confirmation level.
Signature
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
getPositions
Description Retrieves the positions associated with the transactions in this bundle.
Signature
Parameters
None.
Returns
SolanaPosition[]
: An array ofSolanaPosition
instances corresponding to each transaction.
getSignatures
getSignatures
Description Retrieves the signatures of the transactions in the bundle.
Signature
Parameters
None.
Returns
string[]
: An array of transaction signatures.
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 the details of each transaction.
Last updated