A Bitcoin payment can pass a technical test without having been sent. For anyone building a wallet integration or supervising a custom payout system, that distinction belongs in the interface, not just in a developer's notes.

Bitcoin Core provides a transaction-admission dry run called testmempoolaccept. A successful result describes what the queried node would accept under the test's conditions. It does not deliver the payment, reserve block space or confirm that the intended customer will receive the right amount.

Separate inspection, testing and submission

Three similarly technical-looking commands perform different jobs. decoderawtransaction turns serialized transaction data into a readable JSON object, including inputs, outputs and size information. This makes it useful for inspection; decoding alone is not a promise that the transaction is acceptable. Bitcoin Core decoder documentation

testmempoolaccept evaluates admission to the node's mempool, its collection of accepted unconfirmed transactions. Its documentation says the test checks both consensus and policy rules. sendrawtransaction, by contrast, submits a raw transaction to the local node and network. Admission test Submission command

These references describe Bitcoin Core 30.0, a specific documented release, not an assertion that it is the latest version. Operators should consult the help and documentation corresponding to their installed software.

A sensible application can present those stages separately: inspected, tested, submitted and confirmed. Calling all four “processed” hides information that a user needs when something stops halfway through.

Read more than a green check

The test returns an allowed result when it has reached that determination. With multiple transactions, a failure can leave other entries without that field because they were not fully validated. The documented package interface also requires parents before children: a transaction creating an output must precede the submitted transaction that spends it. Test result semantics

An integration should therefore not interpret a missing result as success, or simply check whether the response contains one positive value somewhere. Our recommendation is to match each result to the intended transaction and keep incomplete validation distinct from an explicit pass or failure.

The implementation makes the preview behavior concrete. It invokes transaction or package processing with the testing flag enabled, then builds the response. It also checks the caller's maximum fee-rate setting and can report max-fee-exceeded. Bitcoin Core implementation

That last outcome is easy to misread. The caller's maximum fee rate is a safety ceiling, not a minimum bid for confirmation. A transaction can encounter that guardrail because the proposed fee is too high for the chosen protection. Automatically raising the fee in response would move in the wrong direction.

The test does not freeze the node

A mempool test is local. Bitcoin Core distinguishes admission policy from the consensus rules applied to transactions in blocks, and policy can depend on the node's chain tip and existing mempool contents. Transaction relay policy

The operational implication is that a saved passing result should not be treated as a perpetual permission slip. Between a test and submission, a competing spend might appear or the node's circumstances might change. Conversely, a test on one system is not a vote collected from every other node.

For a payout service, preserving the exact transaction bytes alongside the test result is more useful than saving only a screenshot. If the application changes an output or rebuilds the transaction afterward, the earlier result describes the old object. Retest the object actually intended for submission rather than relying on a similarly labeled draft.

Technical acceptance is not business approval

A node does not know whether an output belongs to the supplier on your invoice. A transaction can satisfy its technical checks while paying the wrong destination. Review of the intended recipient, amounts and authorization remains a separate responsibility.

Keep that review attached to the actual payment, not merely to a batch name. For example, approving “Friday payouts” is ambiguous if the application silently regenerates the batch before broadcasting it. A precise audit trail distinguishes the reviewed transaction from later revisions.

Finally, avoid using the submission command as a harmless status check. Its documented purpose is sending, and its documentation warns that manual rebroadcast can reduce privacy by revealing transaction origin. A dry run and a rebroadcast are not interchangeable troubleshooting actions. Submission and rebroadcast warning

The dry run is valuable because it provides an opportunity to inspect a likely outcome before taking the sending step. Preserve that boundary. “Would accept” is useful evidence, but it is neither “sent” nor “paid.”