API Reference

testmempoolaccept

Returns result of mempool acceptance tests indicating if raw transaction (serialized, hex-encoded) would be accepted by mempool.
This checks if the transaction violates the consensus or policy rules.
See sendrawtransaction call.

Argument #1 - rawtxs
Type: json array, required
An array of hex strings of raw transactions.
Length must be one for now.
[
"rawtx", (string)
...
]

Argument #2 - maxfeerate
Type: numeric or string, optional, default=0.10
Reject transactions whose fee rate is higher than the specified value, expressed in BTC/kB.

Language
Click Try It! to start a request and see the response here!