I want to modify dynamically the fee for each transaction made by the users who use my website. I calculate the fees dynamically but I don't know how can I apply that custom fee for each user. I am trying it in the following way:

$output = $this->bitcoin->sendtoaddress($toAddress, $amount);

If someone can point me in the right direction I'd be grateful


You can only do this if you set the RBF bit on the original transaction.

  • Hey, don't hate the player. Hate the game. 😎
    – Luke Mlsna
    Nov 4 '17 at 21:45

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.