testmempoolaccept
Argument #1 – rawtxs
Type: json array, required
- An array of hex strings of raw transactions.
-
Length must be one for now.
Argument #2 – maxfeerate
Type: numeric or string, optional, default=0.10
Rejects transactions with a fee rate higher than the specified value, expressed in BTCE/kB.
Result
Examples
Create a transaction:
Sign the transaction, and get back the hex:
Test acceptance of the transaction (signed hex):
As a JSON-RPC call: