Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@textile/hub > publicKeyToString

publicKeyToString() function

Encode the given PublicKey to its base-32 encoded multibase representation.

Signature:

export declare function publicKeyToString(key: Public): string;

Parameters

ParameterTypeDescription
keyPublicThe Public key to encode.

Returns:

string

  • publicKeyToString() function
  • Parameters
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio