1

I am attempting to use fundrawtransaction, but I am a bit confused on how to populate the subtractFeeFromOutputs field...

 "subtractFeeFromOutputs": [(json array, optional, default=empty array) A json array of integers.
      The fee will be equally deducted from the amount of each specified output.
      Those recipients will receive less bitcoins than you enter in their corresponding amount field.
      If no outputs are specified here, the sender pays the fee.
vout_index, (numeric) The zero-based output index, before a change output is added.

Does the above mean I only need to provide an array of the vout_indexes?

If so, is the vout_indexes the position in which the outputs are in the array of outputs provided to createrawtransaction?

I could really use an example here...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.