[#wallet-CWallet-SignTransaction-09] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::SignTransaction :relfileprefix: ../../ :mrdocs: Fetch the inputs and sign with SIGHASH_ALL. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f94fde05698), requires_capability(0x7f95061a83d8), requires_capability(0x7f94f2b78ee8), requires_capability(0x7f94f0cf7b78), requires_capability(0x7f94fee3a568)]] bool SignTransaction(xref:CMutableTransaction.adoc[CMutableTransaction]& tx) const; ---- == Return Value true if all inputs were signed. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The transaction to sign in place. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#