Zero Fee

No fee input transactions

Zero fee will create the transaction hex without any payment input UTXO or change output UTXO. To enable zero fee model simply do not include the paymentUtxo or paymentPrivateKey values in the function argument by passing in "null".

const transferHex = await stasTransfer.signed(
    ownerPrivatekey, 
    stasUtxo, 
    destinationAddress, 
    null, 
    null
)

The result will be a transaction that does not include any funds to cover the transaction cost and instead the transaction fee will be managed from the miner side through a zero fee authentication model.

Please note that this model is currently not supported by any existing miners on the network.

Last updated