curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "prioritisetransaction",
"params": [
"0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62",
0,
10000
],
"id": 1
}'
{
"result": true,
"error": {},
"id": 123
}
curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "prioritisetransaction",
"params": [
"0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62",
0,
10000
],
"id": 1
}'
{
"result": true,
"error": {},
"id": 123
}
prioritisetransaction
method is used to temporarily increase the priority of a transaction in the mempool, making it more likely to be included in a block. This can be useful for transactions that need to be confirmed more quickly.
txid
(required): The transaction ID of the transaction to prioritise.priority delta
(required): The amount by which to increase the transaction’s priority. This is a relative increase, not an absolute number.fee delta
(required): The amount in satoshis by which to increase the transaction’s fee. This can help the transaction get included in a block faster.result
— a boolean indicating whether the transaction priority was successfully increased.error
— an object containing an error message if an error occurred, otherwise null
.id
— an integer representing the ID of the request.prioritisetransaction
method is particularly useful in scenarios where a transaction has been submitted with a low fee, and the sender wishes to increase its chance of being included in the next block without resubmitting the transaction with a higher fee.Confirmation that the transaction priority was increased.
The response is of type object
.
Was this page helpful?