Skip to content
Discussion options

You must be logged in to vote

Hi @dimitris-c, you can set the change manually in Proto.TransactionBuilder.outputs. So the flow may look like:

  1. Use AnySigner.plan with Proto.TransactionBuilder.outputs and Proto.TransactionBuilder.changeOutput to get exact change amount
  2. Remove Proto.TransactionBuilder.changeOutput from the signing input, and push it back to Proto.TransactionBuilder.outputs explicitly

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dimitris-c
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants