[#TxGraph-SetTransactionFee]
= xref:TxGraph.adoc[TxGraph]::SetTransactionFee
:relfileprefix: ../
:mrdocs:

Modify the fee of the specified transaction, in both the main graph and the staging graph if it exists&period; Wherever the transaction does not exist (or was removed), this has no effect&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
SetTransactionFee(
    xref:TxGraph/Ref.adoc[Ref] const& arg,
    int64&lowbar;t fee) noexcept = 0;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg*
| Reference to the transaction whose fee is changed&period;
| *fee*
| New fee for the transaction&period;
|===


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