[#wallet-CWallet-IncOrderPosNext]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::IncOrderPosNext
:relfileprefix: ../../
:mrdocs:

Increment the next transaction order id

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e598a68), requires&lowbar;capability(0x7f2e11aa9828), requires&lowbar;capability(0x7f2e169ff618), requires&lowbar;capability(0x7f2e15f2eab8), requires&lowbar;capability(0x7f2e12c6d748)&rsqb;&rsqb;
int64&lowbar;t
IncOrderPosNext(xref:wallet/WalletBatch.adoc[WalletBatch]* batch = nullptr);
----

== Return Value

next transaction order id

== Parameters

[cols="1,4"]
|===
| Name| Description
| *batch*
| optional database batch to write the updated order id through
|===


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