selectV1FeeInputs
HardKAS SDK / tx-builder/src / selectV1FeeInputs
Function: selectV1FeeInputs()
selectV1FeeInputs(
input):V1FeeSelection
Defined in: packages/tx-builder/src/v1-fee-inputs.ts:38
The coins that cover targetSompi (the fee plus the smallest change the caller accepts). V1_FEE_INPUTS_INSUFFICIENT
when the candidates do not reach it.
Parameters
input
coins
readonly V1FeeCoin[]
networkId
string
pendingOutpoints
ReadonlySet<string>
Outpoints ("txid:index") transactions in the node's mempool are spending (observePendingSpends).
targetSompi
bigint
virtualDaaScore
bigint