deriveaddresses "descriptor" ( range )

The deriveaddresses RPC returns one or more addresses corresponding to an output descriptor.

*bitcoin-cli help deriveaddresses

deriveaddresses "descriptor" ( range )

Derives one or more addresses corresponding to an output descriptor.
Examples of output descriptors are:
    pkh()                        P2PKH outputs for the given pubkey
    wpkh()                       Native segwit P2PKH outputs for the given pubkey
    sh(multi(,,,...)) P2SH-multisig outputs for the given threshold and pubkeys
    raw()                    Outputs whose scriptPubKey equals the specified hex scripts

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.

Arguments:
1. descriptor    (string, required) The descriptor.
2. range         (numeric or array, optional) If a ranged descriptor is used, this specifies the end or the range (in [begin,end] notation) to derive.

Result:
[ address ] (array) the derived addresses

Examples:
First three native segwit receive addresses
> bitcoin-cli deriveaddresses "wpkh([d34db33f/84h/0h/0h]xpub6DJ2dNUysrn5Vt36jH2KLBT2i1auw1tTSSomg8PhqNiUtx8QX2SvC9nrHu81fT41fvDUnhMjEzQgXnQjKEu3oaqMSzhSrHMxyyoEAmUHQbY/0/*)#trd0mf0l" "[0,2]"