Optional
changeOptional
didThe output script to control the new did UTXO. Defaults to a p2tr output derived from the private key used to sign the did input or the first wallet funding input if no did input is being consumed.
Optional
didThe number of satoshis to be committed to the DID output. This must be greater than the dust limit of 330 satoshis. If not provided, a default value of 330 satoshis will be used. If this value is zero, no did output will be created and the DID will not be able to be updated.
The network to be used for the transaction. This defaults to 'mainnet' if not provided.
The fee rate to be used for the transaction, expressed in satoshis per virtual byte (vByte).
Optional
walletA list of utxos to consume for the transaction.
A custom change address to be used for the transaction. If not provided, the change will be sent to a p2tr address derived from the private key used to sign the did input or the first wallet funding input if no did input is being consumed.