deriveaddresses

Examples of output descriptors are:

pkh(<pubkey>)                                     P2PKH outputs for the given pubkey
wpkh(<pubkey>)                                    Native segwit P2PKH outputs for the given pubkey
sh(multi(<n>,<pubkey>,<pubkey>,...))              P2SH-multisig outputs for the given threshold and pubkeys
raw(<hex script>)                                 Outputs whose scriptPubKey equals the specified hex scripts
tr(<pubkey>,multi_a(<n>,<pubkey>,<pubkey>,...))   P2TR-multisig outputs for the given threshold and pubkeys

In the above, either refers to a fixed public key in hexadecimal notation, or to an xpub/xprv optionally followed by one or more path elements separated by "/", where "h" represents a hardened child key.

For more information on output descriptors, see the documentation in the doc/descriptors.md file.

Argument #1-descriptor

Type: string, Required

Description: The descriptor.

Argument #2-range

Type: numeric or array, Optional

Description: If a ranged descriptor is used, this specifies the end or the range (in [begin,end] notation) to derive.

Result

  [           (json array)
    "str",    (string) the derived addresses
    ...
  ]