GeneratorPlanRequest
HardKAS SDK / tx-builder/src / GeneratorPlanRequest
Interface: GeneratorPlanRequest
Defined in: packages/tx-builder/src/generator-plan.ts:33
Properties
changeAddress
readonlychangeAddress:string
Defined in: packages/tx-builder/src/generator-plan.ts:38
feeRate?
readonlyoptionalfeeRate?:bigint
Defined in: packages/tx-builder/src/generator-plan.ts:43
Sompi per gram. At or below the relay minimum (100) the transaction pays the minimum, charged on the compute mass; above it the rate is priority, priced on max(compute, storage) as the mempool ranks it (FEE-POLICY-1).
networkId?
readonlyoptionalnetworkId?:string
Defined in: packages/tx-builder/src/generator-plan.ts:34
outputs
readonlyoutputs: readonlyobject[]
Defined in: packages/tx-builder/src/generator-plan.ts:37
Payment outputs. Empty for a consolidation: every selected input goes to changeAddress.
payload?
readonlyoptionalpayload?:string
Defined in: packages/tx-builder/src/generator-plan.ts:45
Transaction payload (hex); the Generator prices its mass.
syntheticIdentities?
readonlyoptionalsyntheticIdentities?:boolean
Defined in: packages/tx-builder/src/generator-plan.ts:52
Plans the simulator's identities (aliases such as kaspa:sim_alice, mock-script,
transaction ids that are not 64-hex, addresses of any network) under mass-equivalent
simnet stand-ins and maps them back. Only for the simulator: on a real network an
invalid identity must fail.
utxos
readonlyutxos: readonlyUtxo[]
Defined in: packages/tx-builder/src/generator-plan.ts:35