Is there a way to get an Account Identifier from a Principal in TypeScript?

Can’t seem to find a working example of this.

Try this: extendable-token/ at 1f7ef3e2cff3f95509f607ba022326fe280f7039 · Toniq-Labs/extendable-token · GitHub

EDIT: Misunderstood your question, sorry.

Thanks for addressing anyhow.

I wonder if there may be a Principal.toBlob() method available for TS somewhere? It looks like that could be used to do the trick. I seem to recall maybe running across this method in one of the @dfinity packages, but can’t find it anymore…