I wanna make transactions during monero-wallet-rpc. When I wanna send some amount I wanna know the fee's before Im transfering the funds to other wallet.
How can i get the fee's regarding a trasaction from monero-wallet-rpc API?
Monero Stack Exchange is a question and answer site for developers and users of the secure, private and untraceable cryptocurrency Monero. It only takes a minute to sign up.Sign up to join this community
The fee depends (in part) on the exact size of your transaction, and your transaction size depends (in part) on how many outputs you are spending. Therefore to determine the fee, you first need to construct the transaction to determine its size. You can do this using the
transfer method with
do_not_relay set to
If you are happy with the fee, you can then submit the transaction to the network using the