0

I want a button that initiates a transaction to a given address and then lets the user decide the value in their wallet before sending the transaction. If I include no value, then the transaction is sent with a zero value and there is no wallet option to change that.

The docs don't indicate if setting the value is possible, so I thought I'd ask just in case there is a way, or perhaps it's on the road map.

2
  • 1
    Why not let the user decide the value in the UI then just confirm it in the wallet? Commented Mar 20, 2023 at 17:21
  • @ruby_newbie Yes, that's an option. In this case I'm extending an existing UI – adding value options would require a more significant overhall, so leaving it to the wallet would be preferable.
    – user77510
    Commented Mar 20, 2023 at 21:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.