Skip to main content

GeneratorSettingsInput

HardKAS SDK


HardKAS SDK / tx-builder/src / GeneratorSettingsInput

Interface: GeneratorSettingsInput

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:33

Generator settings passed through unchanged to the WASM SDK. See kaspa-wasm's IGeneratorSettingsObject for the full field list. We accept any for entries/outputs/priorityFee because the SDK accepts multiple shapes (arrays, single object, UtxoContext, PaymentOutput, etc.); validating here would drift from upstream.

Properties​

changeAddress​

readonly changeAddress: string

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:37


entries​

readonly entries: unknown

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:35


minimumSignatures?​

readonly optional minimumSignatures?: number

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:41


networkId​

readonly networkId: string

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:34


outputs​

readonly outputs: unknown

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:36


payload?​

readonly optional payload?: string | Uint8Array<ArrayBufferLike>

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:39


priorityFee?​

readonly optional priorityFee?: number | bigint | { amount: bigint; } | { rate: bigint; }

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:38


sigOpCount?​

readonly optional sigOpCount?: number

Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:40