Legacy Address:
CashAddr Address:
read the spec
here
cashaddrjs info
here