POST
/
788f110831fe13808302bd79796d55e8
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
}

The 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.

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • 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.

Response

  • 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.

Use case

The 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.

Body

application/json
jsonrpc
string
default:1.0
method
string
default:prioritisetransaction
params
(string | integer)[]

The transaction ID.

Example:
[
  "0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62",
  0,
  10000
]
id
integer
default:1

Response

200 - application/json
Confirmation that the transaction priority was increased.
result
boolean

True if the transaction priority was successfully increased, false otherwise.

error
object
id
integer