aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/external_signer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/external_signer.h')
-rw-r--r--src/wallet/external_signer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/external_signer.h b/src/wallet/external_signer.h
index 944dd7d5ef..198a939d3d 100644
--- a/src/wallet/external_signer.h
+++ b/src/wallet/external_signer.h
@@ -49,6 +49,11 @@ public:
//! @param[out] success Boolean
static bool Enumerate(const std::string& command, std::vector<ExternalSigner>& signers, std::string chain, bool ignore_errors = false);
+ //! Display address on the device. Calls `<command> displayaddress --desc <descriptor>`.
+ //! @param[in] descriptor Descriptor specifying which address to display.
+ //! Must include a public key or xpub, as well as key origin.
+ UniValue DisplayAddress(const std::string& descriptor) const;
+
//! Get receive and change Descriptor(s) from device for a given account.
//! Calls `<command> getdescriptors --account <account>`
//! @param[in] account which BIP32 account to use (e.g. `m/44'/0'/account'`)