func NewEncryptWalletCmd(passphrase string) *EncryptWalletCmd {
	return &EncryptWalletCmd{
		Passphrase: passphrase,
	}
}
NewEncryptWalletCmd returns a new instance which can be used to issue a
encryptwallet JSON-RPC command.
package btcjson
type AddMultisigAddressCmd struct {
	NRequired int
	Keys      []string
	Account   *string
}
func NewAddMultisigAddressCmd(nRequired int, keys []string, account *string) *AddMultisigAddressCmd {
	return &AddMultisigAddressCmd{
		NRequired: nRequired,
		Keys:      keys,
		Account:   account,
	}
}
type AddWitnessAddressCmd struct {
	Address string
}
func NewAddWitnessAddressCmd(address string) *AddWitnessAddressCmd {
	return &AddWitnessAddressCmd{
		Address: address,
	}
}
type CreateMultisigCmd struct {
	NRequired int
	Keys      []string
}
func NewCreateMultisigCmd(nRequired int, keys []string) *CreateMultisigCmd {
	return &CreateMultisigCmd{
		NRequired: nRequired,
		Keys:      keys,
	}
}
type DumpPrivKeyCmd struct {
	Address string
}
func NewDumpPrivKeyCmd(address string) *DumpPrivKeyCmd {
	return &DumpPrivKeyCmd{
		Address: address,
	}
}
type EncryptWalletCmd struct {
	Passphrase string
}