fromAccountId

Creates a new Stellar KeyPair from a strkey encoded Stellar account ID.

Return

KeyPair with only public key (cannot sign)

Parameters

accountId

The strkey encoded Stellar account ID (G...)

Throws

if the provided account ID is invalid