[#node-TransactionError] = xref:node.adoc[node]::TransactionError :relfileprefix: ../ :mrdocs: Result of attempting to submit or broadcast a transaction. == Synopsis Declared in `<node/types.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class TransactionError : int; ---- == Members [cols="1,4"] |=== | Name| Description | `OK` | No error | `MISSING_INPUTS` | One or more of the transaction's inputs are missing or already spent. | `ALREADY_IN_UTXO_SET` | The transaction is already confirmed in the UTXO set. | `MEMPOOL_REJECTED` | The mempool rejected the transaction during acceptance. | `MEMPOOL_ERROR` | An internal error occurred while adding the transaction to the mempool. | `MAX_FEE_EXCEEDED` | The transaction's fee is higher than the configured maximum. | `MAX_BURN_EXCEEDED` | The transaction burns more value than the configured maximum. | `INVALID_PACKAGE` | The submitted package of transactions is invalid. | `PRIVATE_BROADCAST_FULL` | The private broadcast queue has no free slots. |=== == 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. | xref:JSONRPCTransactionError.adoc[`::JSONRPCTransactionError`] | Build a JSON‐RPC error object for a transaction error. | xref:RPCErrorFromTransactionError.adoc[`::RPCErrorFromTransactionError`] | Map a transaction error to the matching RPC error code. | xref:common/TransactionErrorString.adoc[`::common::TransactionErrorString`] | Return a bilingual message describing a transaction error. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#