Skip to content

@aldea/sdk / Exports / TxBuilderOpts

Interface: TxBuilderOpts

Options that can be passed to the TxBuilder instance.

  • extend - optional previous transaction to extend from
  • onBuild - hook or array of hooks to manipulate an instruction as it is built in sequence
  • afterBuild - hook or array of hooks to manipulate an instruction after it is built
  • updateSigs - key or array of keys to resign any SIGN instructions. Use in combination with extend

Table of contents

Properties

Properties

afterBuild

Optional afterBuild: TxBuildHook | TxBuildHook[]

Defined in

packages/sdk/src/tx-builder.ts:73


extend

Optional extend: Tx

Defined in

packages/sdk/src/tx-builder.ts:71


onBuild

Optional onBuild: TxBuildHook | TxBuildHook[]

Defined in

packages/sdk/src/tx-builder.ts:72


updateSigs

Optional updateSigs: PrivKey | HDPrivKey | (PrivKey | HDPrivKey)[]

Defined in

packages/sdk/src/tx-builder.ts:74