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

Build a result for a transaction that was successfully accepted into the mempool&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:MempoolAcceptResult.adoc[MempoolAcceptResult]
Success(
    std::list&lt;CTransactionRef&gt;&& replaced&lowbar;txns,
    int64&lowbar;t vsize,
    xref:CAmount.adoc[CAmount] fees,
    xref:CFeeRate.adoc[CFeeRate] effective&lowbar;feerate,
    std::vector&lt;Wtxid&gt; const& wtxids&lowbar;fee&lowbar;calculations);
----

== Return Value

A VALID result describing the accepted transaction&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *replaced&lowbar;txns*
| Mempool transactions replaced by the accepted transaction&period;
| *vsize*
| Virtual size of the transaction as used by the mempool&period;
| *fees*
| Raw base fees of the transaction, in satoshis&period;
| *effective&lowbar;feerate*
| The feerate at which the transaction was considered&period;
| *wtxids&lowbar;fee&lowbar;calculations*
| Wtxids of the transactions used for fee&hyphen;related checks&period;
|===


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