Skip to main content

prioritisetransaction

Command#

pacprotocol-cli prioritisetransaction <txid> <fee delta>

prioritisetransaction <txid> <fee delta> Accepts the transaction into mined blocks at a higher (or lower) priority

Arguments#

txid *#

(string, required)

The transaction id.

fee_delta *#

(numeric, required)

The fee value (in duffs) to add (or subtract, if negative). Note, that this value is not a fee rate. It is a value to modify absolute fee of the TX. The fee is not actually paid, only the algorithm for selecting transactions into a block considers the transaction as it would have paid a higher (or lower) fee.

Examples#

pacprotocol-cli prioritisetransaction "txid" 10000
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:1111/

Result#

true #(boolean) Returns true

Running following help command

pacprotocol-cli help prioritisetransaction

Will produce following output:

prioritisetransaction <txid> <fee delta>
Accepts the transaction into mined blocks at a higher (or lower) priority
Arguments:
1. "txid" (string, required) The transaction id.
2. fee_delta (numeric, required) The fee value (in duffs) to add (or subtract, if negative).
Note, that this value is not a fee rate. It is a value to modify absolute fee of the TX.
The fee is not actually paid, only the algorithm for selecting transactions into a block
considers the transaction as it would have paid a higher (or lower) fee.
Result:
true (boolean) Returns true
Examples:
> pacprotocol-cli prioritisetransaction "txid" 10000
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:1111/