Skip to main content
A single wallet account can expose multiple addresses, each with a different purpose. For example, a Bitcoin wallet may have a payment address and an ordinals address, or a Midnight wallet may have midnight_unshielded and midnight_dust addresses. Use getWalletAccountAddressByType to pick the address that matches the type you need.

Usage

Parameters

Common address types

Returns

The matching address as a string, or undefined if the wallet account does not have an address of the requested type.
Last modified on October 23, 2026