func (a *scriptAddress) Address() stdaddr.Address {
	return a.address
}
Address returns the stdaddr.Address which represents the managed address.
This will be a pay-to-script-hash address.

This is part of the ManagedAddress interface implementation.
package udb
import (
	"github.com/decred/dcrd/dcrutil/v4"
	"github.com/decred/dcrd/txscript/v4/stdaddr"
)
type ManagedAddress interface {
	Account() uint32
	Address() stdaddr.Address
	AddrHash() []byte
	Imported() bool
	Internal() bool
	Multisig() bool
}
type ManagedPubKeyAddress interface {
	ManagedAddress
	PubKey() []byte
	Index() uint32
}
type ManagedScriptAddress interface {
	ManagedAddress
	RedeemScript() (uint16, []byte)
}
type managedAddress struct {
	manager  *Manager
	account  uint32
	address  *stdaddr.AddressPubKeyHashEcdsaSecp256k1V0
	imported bool
	internal bool
	multisig bool
	pubKey   []byte
	index    uint32
}
var _ ManagedPubKeyAddress = (*managedAddress)(nil)
func (a *managedAddress) Account() uint32 {
	return a.account
}
func (a *managedAddress) Address() stdaddr.Address {
	return a.address
}
func (a *managedAddress) AddrHash() []byte {
	return a.address.Hash160()[:]
}
func (a *managedAddress) Imported() bool {
	return a.imported
}
func (a *managedAddress) Internal() bool {
	return a.internal
}
func (a *managedAddress) Multisig() bool {
	return a.multisig
}
func (a *managedAddress) PubKey() []byte {
	return a.pubKey
}
func (a *managedAddress) Index() uint32 {
	return a.index
}
func newManagedAddressWithoutPrivKey(m *Manager, account uint32, pubKey []byte) (*managedAddress, error) {
	pubKeyHash := dcrutil.Hash160(pubKey)
	address, err := stdaddr.NewAddressPubKeyHashEcdsaSecp256k1V0(pubKeyHash, m.chainParams)
	if err != nil {
		return nil, err
	}
	return &managedAddress{
		manager:  m,
		address:  address,
		account:  account,
		imported: false,
		internal: false,
		multisig: false,
		pubKey:   pubKey,
	}, nil
}
type scriptAddress struct {
	manager      *Manager
	account      uint32
	address      *stdaddr.AddressScriptHashV0
	redeemScript []byte
}
var _ ManagedScriptAddress = (*scriptAddress)(nil)
func (a *scriptAddress) Account() uint32 {
	return a.account
}