PublicKeyManager
The shared public API key — client.publicKey. It is what an open-source wallet embeds to reach the few routes anonymous callers may use; the route that serves…
The shared public API key — client.publicKey. It is what an open-source wallet embeds to reach the few routes anonymous callers may use; the route that serves it takes no key at all. Mostly useful to tooling that ships such a wallet; a server with its own key has no need for it.
Constructor
PublicKeyManager
constructor(client: Client)Parameters
client:Client
Properties
client
readonly client: ClientType Client
Methods
fetch()
The public key for an environment (dev → testnet, prod → mainnet).
fetch(env?: 'dev' | 'prod'): Promise<PublicKeyData>Parameters
env(optional):'dev' | 'prod'
Returns Promise<PublicKeyData>
Related
PluginManager
Plugins this deployment serves — client.plugins. A plugin runs only for a consumer that installed it, and installing is consenting to exactly the capabilities…
PaymentIntent
A Stellar SEP-7 payment intent. Wraps the raw API payload with typed accessors and atomic action methods so you can operate on it directly…