Language

Choose a language

/build/rpc / btc

getprioritisedtransactions

getprioritisedtransactions Returns a map of all user-created (see prioritisetransaction) fee deltas by txid, and whether the tx is present in mempool. Result: { (json object) prioritisation keyed by txid "<transactionid>" : { (json object) "fee_delta" : n, (numeric) transaction fee delta in satoshis "in_mempool" : true|false, (boolean) whether this transaction is currently in mempool "modified_fee" : n (numeric, optional) modified fee in satoshis. Only returned if in_mempool=true }, ... } Examples: > bitcoin-cli getprioritisedtransactions > curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getprioritisedtransactions", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8332/

Signature

getprioritisedtransactions() → any

Code samples

curl --user "$RPC_USER:$RPC_PASS" \
  --data-binary '{"jsonrpc":"1.0","id":"docs","method":"getprioritisedtransactions","params":[]}' \
  -H 'content-type: text/plain;' \
  http://127.0.0.1:8332/

Parameters

No parameters.

Result

Type:  any

{ (json object) prioritisation keyed by txid "<transactionid>" : { (json object) "fee_delta" : n, (numeric) transaction fee delta in satoshis "in_mempool" : true|false, (boolean) whether this transaction is currently in mempool "modified_fee" : n (numeric, optional) modified fee in satoshis. Only returned if in_mempool=true }, ... }

Source: services/core-node/bcore/src/rpc/mining.cpp:601

C++ symbol: getprioritisedtransactions