user5844: Cardano has a number of different types of address from receiving address to enterprise address and many others.
My question is in two parts:

where can I find an exhaustive list of all address types?

given an address how can I get all other address connected to it?


Example given a receive address how do I get the stake address or the address blockfrost uses?

user252: About address formation and extracting Stake keys, you can read the CIP-0019

*Edit: this was reply to old question (about address, not address type) : This question does not make sense - you can have close to infinite addresses, you can only query addresses that have been used on chain (even then, you should be able to work your workflow logic a bit better than to scan millions of addresses on chain). If you're only interested in grabbing stake key from an address already on chain i.e. has a transaction against it - while using blockfrost, use this endpoint.As regards address types, you can find the CIP above for common ones , while all concepts listed in docs here

You can use the left sidebar on API docs for available endpoints, for the specific query for Account, you can use this endpoint.



5844: <p>Cardano has a number of different types of address from receiving address to enterprise address and many others.</p>
<p>My question is in two parts:</p>
<ol>
<li><p>where can I find an exhaustive list of all address types?</p>
</li>
<li><p>given an address how can I get all other address connected to it?</p>
</li>
</ol>
<p>Example given a receive address how do I get the stake address or the address blockfrost uses?</p>
 252: <p>About address formation and extracting Stake keys, you can read the <a href="https://developers.cardano.org/docs/governance/cardano-improvement-proposals/CIP-0019" rel="nofollow noreferrer">CIP-0019</a></p>
<ol>
<li><p>*Edit: this was reply to old question (about address, not address type) : This question does not make sense - you can have close to infinite addresses, you can only query addresses that have been used on chain (even then, you should be able to work your workflow logic a bit better than to scan millions of addresses on chain). If you're only interested in grabbing stake key from an address <em>already on chain</em> i.e. has a transaction against it - while using blockfrost, use <a href="https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/%7E1addresses%7E1%7Baddress%7D/get" rel="nofollow noreferrer">this</a> endpoint.<br>As regards address types, you can find the CIP above for common ones , while all concepts listed in docs <a href="https://docs.cardano.org/core-concepts/cardano-addresses" rel="nofollow noreferrer">here</a></p>
</li>
<li><p>You can use the left sidebar on API docs for available endpoints, for the specific query for Account, you can use <a href="https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/%7E1accounts%7E1%7Bstake_address%7D%7E1addresses/get" rel="nofollow noreferrer">this</a> endpoint.</p>
</li>
</ol>
