POSTtestmempoolaccept
https://bitcoin-mainnet.nodit.io/Verifies whether a transaction would be accepted into the mempool without actually submitting it. Use it as a pre-flight check before broadcasting.
It contains following parameters in order:
rawtxs: The hex strings of the transactions to validate, as an array. (required)maxfeerate: The maximum fee rate to allow. (optional, default0.10)
The hex strings of the transactions to validate.
Reject transactions whose fee rate is higher than this value, expressed in BTC/kvB.
Fee rates larger than 1 BTC/kvB are rejected. Set to 0 to accept any fee rate.
The transaction id.
The hash of the serialized transaction, including witness data.
A package validation error. It can be returned only when more than one transaction was submitted.
Whether this transaction would be accepted into the mempool and pass the requested maxfeerate.
The virtual transaction size as defined in BIP 141. Returned only when allowed is true.
The transaction fee, denominated in BTC.
The effective fee rate used for validation, expressed in BTC/kvB.
The list of witness hashes of the transactions whose fees and virtual sizes are included in the effective fee rate.
The reason the transaction was rejected. Returned only when allowed is false.
The details of the rejection. Returned only when allowed is false and rejection details exist.