Function cryptoapis::apis::features_api::derive_hd_wallet__x_pub_y_pub_z_pub_change_or_receiving_addresses
source · [−]pub async fn derive_hd_wallet__x_pub_y_pub_z_pub_change_or_receiving_addresses(
configuration: &Configuration,
blockchain: &str,
extended_public_key: &str,
network: &str,
context: Option<&str>,
address_format: Option<&str>,
addresses_count: Option<i64>,
is_change: Option<bool>,
start_index: Option<i64>
) -> Result<DeriveHdWalletXPubYPubZPubChangeOrReceivingAddressesR, Error<DeriveHdWalletXPubYPubZPubChangeOrReceivingAddressesError>>
Expand description
Through this endpoint, customers can derive up to 10 addresses - both change and receive, from a certain HD Wallet (xPub, yPub, zPub), by providing an extended public key. By default the system creates a receiving/deposit address, unless the isChange attribute is set to ‘true’. In that case the system derives a ‘change’ address. The change address can be derived only for UTXO based blockchains, for all the rest, this endpoint always creates a deposit/receiving address.