createwallet
Argument #1-wallet_name
Type: string, Required
Description: The name for the new wallet. If this is a path, the wallet will be created at the path location.
Argument #2-disable_private_keys
Type: boolean, Optional
Default=false
Description: Disable the possibility of private keys (only watchonlys are possible in this mode).
Argument #3-blank
Type: boolean, Optional
Default=false
Description: Create a blank wallet. A blank wallet has no keys or HD seed. One can be set using sethdseed.
Argument #4-passphrase
Type: string, Optional
Description: Encrypt the wallet with this passphrase.
Argument #5-avoid_reuse
Type: boolean, Optional
Default=false
Description: Keep track of coin reuse, and treat dirty and clean coins differently with privacy considerations in mind.
Argument #6-descriptors
Type: boolean, Optional
Default=true
Description: Create a native descriptor wallet. The wallet will use descriptors internally to handle address creation. Setting to "false" will create a legacy wallet; This is only possible with the -deprecatedrpc=create_bdb setting because, the legacy wallet type is being deprecated and support for creating and opening legacy wallets will be removed in the future.
Argument #7-load_on_startup
Type: boolean, Optional
Description: Save wallet name to persistent settings and load on startup. True to add wallet to startup list, false to remove, null to leave unchanged.
Argument #8-external_signer
Type: boolean, Optional
Default=false
Description: Use an external signer such as a hardware wallet. Requires -signer to be configured. Wallet creation will fail if keys cannot be fetched. Requires disable_private_keys and descriptors set to true.
Result
{ (json object)
"name" : "str", (string) The wallet name if created successfully. If the wallet was created using a full path, the wallet_name will be the full path.
"warnings" : [ (json array, optional) Warning messages, if any, related to creating and loading the wallet.
"str", (string)
...
]
}