Utils Overview

The @quickscope/sdk package includes utility functions for working with Solana transactions. These low-level tools help developers prepare, simulate, and execute swap transactions efficiently—whether you're testing in CI, bundling for Jito, or broadcasting to mainnet.

Functions

1. createTransaction

Converts a base64-encoded transaction string into a VersionedTransaction object. Use this to deserialize transactions returned from swap functions and prepare them for signing or simulation.

Learn more aboutcreateTransaction

2. sendTransaction

Signs and sends a transaction to the Solana network using a provided private key. Includes built-in retry logic and optional pre-send simulation for robust execution.

Learn more aboutsendTransaction

3. simulateTransaction

Simulates a transaction without submitting it to the network. Useful for pre-flight checks, CI testing, and debugging before sending real transactions.

Learn more aboutsimulateTransaction

4. sendBundle

Submits a bundle of base64-encoded, signed transactions to the Jito relayer for inclusion. Enables MEV-aware routing and fast block inclusion via Jito's infrastructure.

Learn more aboutsendBundle


These utility functions provide the final layer of control for developers looking to simulate, execute, or batch Solana transactions with precision. They pair seamlessly with Quickscope's quoting and swap generation tools to deliver a complete, production-ready workflow.

For deeper integration examples and advanced usage tips, refer to the function-specific documentation pages.