Stellar Plus
  • Welcome
  • Quick Start
  • Welcome
  • Quick Start
  • 🎓Tutorials
    • Issuing your first asset
    • Bulk Payments
    • E2E Certificate of Deposit demo
    • Creating a new contract client
  • 📄Reference
    • Account
      • Base
      • Default Account Handler
      • Freighter Account Handler
    • Asset
      • Classic Asset Handler
      • Stellar Asset Contract Handler
      • Soroban Token Handler
    • Network
    • Contract Clients
      • Certificate of Deposit Client
    • Core
      • Contract Engine
      • Pipelines
        • Build Transaction
        • Classic Signing Requirements
        • Fee Bump
        • Sign Transaction
        • Soroban Auth
        • Simulate Transaction
        • Soroban Get Transaction
        • Submit Transaction
        • Soroban Transaction
        • Classic Transaction
    • Utils
      • Plugins
        • Fee Bump Plugin
        • Channel Accounts Plugin
        • Auto Restore Plugin
        • Profiler Plugin
      • Pipeline
        • Conveyor Belt
        • Multi-belt Pipeline
    • RPC
      • Default RPC Handler
      • Validation Cloud RPC Handler
    • Horizon Handler
Powered by GitBook
On this page
  • Input
  • Output

Was this helpful?

Edit on GitHub
  1. Reference
  2. Core
  3. Pipelines

Soroban Get Transaction

PreviousSimulate TransactionNextSubmit Transaction

Last updated 1 year ago

Was this helpful?

This pipeline covers a portion of the Soroban transaction lifetime right after its submission to be processed by the network. Given a transaction that is still in the status NOT_FOUND this pipeline will periodically check upon the transaction hash with the RPC server until the status is changed or a timeout is reached.

By default, the timeout period is set when instantiating this pipeline class. In case an optional transaction object is provided with the input, this transaction will be verified and the pipeline timeout will use the transaction timeout(when set) for that execution.

Input

type SorobanGetTransactionPipelineInput = {
  sorobanSubmission: SorobanRpc.Api.SendTransactionResponse
  rpcHandler: RpcHandler
  transactionEnvelope?: Transaction | FeeBumpTransaction
}
  • sorobanSubmission: The successful response provided after submitting a soroban transaction. Refer to the Submit Transaction pipeline for further details.

  • rpcHandler: The RPC handler to be used when communicating with the RPC. Refer to the RPCsection for further details.

  • transactionEnvelope: Optional transaction object to serve as a reference within the pipeline.

Output

type SorobanGetTransactionPipelineOutput = {
  response: SorobanRpc.Api.GetSuccessfulTransactionResponse
  output?: ContractIdOutput & ContractWasmHashOutput & ContractInvocationOutput<string> & FeeChargedOutput
}
  • response: A successful response confirming that the transaction was successfully processed.

  • output: Optional output inserted by plugins.

📄