Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

How to change transaction commission? #20

Open
kbgod opened this issue Oct 14, 2020 · 1 comment
Open

How to change transaction commission? #20

kbgod opened this issue Oct 14, 2020 · 1 comment

Comments

@kbgod
Copy link
Contributor

kbgod commented Oct 14, 2020

No description provided.

@ximidas
Copy link
Contributor

ximidas commented Oct 31, 2020

When you are using PayTo methods you can provide fee and feerate params which are handles by daemon.

Usage example:

$payTo = new \Electrum\Request\Method\Payment\PayTo($client);
$payTo->setDestination($destination);
$payTo->setAmount($amount);
$hex = $payTo->execute(['fee' => 'fee value', 'feerate' => 'feerate value']);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants