Bitcoin Forum
November 09, 2024, 08:51:19 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does anyone know how to define a custom fee (BATCH transactions)  (Read 129 times)
cryptoworld99 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
July 23, 2021, 10:39:02 PM
 #1

Hi,


I would like to batch bitcoin transactions, does anyone know how to define a custom fee using the sendmany RPC function.

Thank you in advance!

BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3167


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
July 23, 2021, 11:16:29 PM
 #2

I don't see any parameter to add custom fees using RPC sendmany from here https://chainquery.com/bitcoin-cli/sendmany

However, you can change your fee by using the command below you can edit the 0.0001 to any fee you want.

Sample
Code:
settxfee 0.0001
Source of idea: https://bitcointalk.org/index.php?topic=1006929.0

Use that command first before you make a batch transactions.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
TryNinja
Legendary
*
Offline Offline

Activity: 3010
Merit: 7437


Top Crypto Casino


View Profile WWW
July 23, 2021, 11:45:22 PM
Merited by pooya87 (2), BitMaxz (1), ABCbits (1), khaled0111 (1), NotATether (1), cryptoworld99 (1)
 #3

Have you tried this?

https://developer.bitcoin.org/reference/rpc/sendmany.html#argument-9-fee-rate

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
khaled0111
Legendary
*
Online Online

Activity: 2702
Merit: 3045


Top Crypto Casino


View Profile WWW
July 23, 2021, 11:59:43 PM
Last edit: July 25, 2021, 10:10:03 PM by khaled0111
 #4

If you are using version 0.21.0 or higher you can use the fee_rate argument (as suggested by TryNinja) and set the fee_rate in sat/vByte.
This feature was introduced in V 0.21.0. If you are using an older version, core will calculate the feerate depending on the number of blocks you're willing to wait before your transaction confirms (conf_target) and the priority (estimate_mode).

cryptoworld99 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
July 24, 2021, 02:55:10 PM
 #5


Thank you!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!