PublicKey
Direct Subclass:
A public key
Static Method Summary
Static Public Methods | ||
public static |
createWithSeed(fromPublicKey: PublicKey, seed: string, programId: PublicKey): PublicKey Derive a public key from another key, a seed, and a programId. |
|
public static |
isPublicKey(o: Object): boolean Checks if the provided object is a PublicKey |
Constructor Summary
Public Constructor | ||
public |
constructor(value: number | string | Buffer | Array<number>) Create a new PublicKey object |
Method Summary
Public Methods | ||
public |
Checks if two publicKeys are equal |
|
public |
Return the base-58 representation of the public key |
|
public |
toBuffer(): Buffer Return the Buffer representation of the public key |
|
public |
Returns a string representation of the public key |