[#MempoolAcceptResult-Failure]
= xref:MempoolAcceptResult.adoc[MempoolAcceptResult]::Failure
:relfileprefix: ../
:mrdocs:

Build a result for a transaction that failed validation&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:MempoolAcceptResult.adoc[MempoolAcceptResult]
Failure(xref:TxValidationState.adoc[TxValidationState] state);
----

== Return Value

An INVALID result carrying the given state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *state*
| Validation state describing why the transaction was rejected&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
