[#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(0x7f2e1e598be8), requires_capability(0x7f2e11aa99a8), requires_capability(0x7f2e169ff798), requires_capability(0x7f2e15f2ec38), requires_capability(0x7f2e12c6d8c8)]] 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]#