Build Transaction

Input

type BuildTransactionPipelineInput = {
  header: EnvelopeHeader
  horizonHandler: HorizonHandler
  operations: xdr.Operation[]
  networkPassphrase: string
  sorobanData?: string | xdr.SorobanTransactionData
}
  • header: Base parameters to build the envelope. Contains a source account, fee, and timeout information.

  • horizonHandler: A handler to fetch data from Stellar through a Horizon instance.

  • operations: An array of operations to be included in the transaction.

  • networkPassphrase: The network passphrase for the target network for this transaction.

  • sorobanData: Soroban data to be included in the transaction.

Output:

type BuildTransactionPipelineOutput = Transaction

The output directly returns a transaction built with the provided parameters.

Last updated