[#CheckTransaction] = CheckTransaction :mrdocs: Performs context‐independent validity checks on a transaction. == Synopsis Declared in `<consensus/tx_check.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool CheckTransaction( xref:CTransaction.adoc[CTransaction] const& tx, xref:TxValidationState.adoc[TxValidationState]& state); ---- == Return Value true if the transaction passes the context‐independent checks. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The transaction to check. | *state* | Receives the validation result and rejection reason on failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#