bitcoind.app
CommandsGuidesContact ↗
Home/Rawtransactions/testmempoolaccept
Rawtransactions

testmempoolaccept

Returns result of mempool acceptance tests for raw transactions without adding to mempool.

Parameters

rawtxsarrayREQUIRED
Array of hex strings of raw transactions
maxfeeratenumber|stringoptional
Reject transactions whose fee rate is higher

Returns

arrayArray of test results

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"testmempoolaccept","params":[["hex"]]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

[
  {
    "txid": "a1075db55d...",
    "allowed": true,
    "vsize": 141,
    "fees": { "base": 0.00001410 }
  }
]
← Previous
signrawtransactionwithkey
Next →
utxoupdatepsbt

More Rawtransactions Commands

analyzepsbtcombinepsbtcombinerawtransactionconverttopsbtcreatepsbtcreaterawtransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗