[#node-TransactionError]
= xref:node.adoc[node]::TransactionError
:relfileprefix: ../
:mrdocs:

Result of attempting to submit or broadcast a transaction&period;

== Synopsis

Declared in `&lt;node&sol;types&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class TransactionError : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `OK` 
| No error
| `MISSING&lowbar;INPUTS` 
| One or more of the transaction&apos;s inputs are missing or already spent&period;
| `ALREADY&lowbar;IN&lowbar;UTXO&lowbar;SET` 
| The transaction is already confirmed in the UTXO set&period;
| `MEMPOOL&lowbar;REJECTED` 
| The mempool rejected the transaction during acceptance&period;
| `MEMPOOL&lowbar;ERROR` 
| An internal error occurred while adding the transaction to the mempool&period;
| `MAX&lowbar;FEE&lowbar;EXCEEDED` 
| The transaction&apos;s fee is higher than the configured maximum&period;
| `MAX&lowbar;BURN&lowbar;EXCEEDED` 
| The transaction burns more value than the configured maximum&period;
| `INVALID&lowbar;PACKAGE` 
| The submitted package of transactions is invalid&period;
| `PRIVATE&lowbar;BROADCAST&lowbar;FULL` 
| The private broadcast queue has no free slots&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:node/BroadcastTransaction.adoc[`BroadcastTransaction`]
| Submit a transaction to the mempool and (optionally) relay it to all P2P peers&period;
| xref:JSONRPCTransactionError.adoc[`&colon;&colon;JSONRPCTransactionError`]
| Build a JSON&hyphen;RPC error object for a transaction error&period;
| xref:RPCErrorFromTransactionError.adoc[`&colon;&colon;RPCErrorFromTransactionError`]
| Map a transaction error to the matching RPC error code&period;
| xref:common/TransactionErrorString.adoc[`&colon;&colon;common&colon;&colon;TransactionErrorString`]
| Return a bilingual message describing a transaction error&period;
|===


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