Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get accounts wrapper for Angular
/** Return the list of accounts available */
public getAccounts(): Observable<string[]> {
return fromPromise(this.web3.eth.getAccounts());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment