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.

This method will use 10 Compute Units.


Reference: Here

Parameters

rawtxs - json array, required

An array of hex strings of raw transactions.

Length must be one for now.

[
  "rawtx",    (string)
  ...
]

maxfeerate - numeric or string, optional, default=0.10

Reject transactions whose fee rate is higher than the specified value, expressed in BTC/kB

Returns

Last updated

Was this helpful?