PublicKey class

Available extensions
Annotations
  • @JS("core.PublicKey")

Constructors

PublicKey.new(dynamic value)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

equals(PublicKey publicKey) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shortPkString([int length = 4]) String

Available on PublicKey, provided by the PublicKeyExtension extension

toBase58() String
toBuffer() Uint8List
toBytes() Uint8List
toJSON() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createProgramAddress(List seeds, PublicKey programId) Future<PublicKey>
createProgramAddressSync(List seeds, PublicKey programId) PublicKey
createWithSeed(PublicKey fromPublicKey, String seed, PublicKey programId) Future<PublicKey>
findProgramAddress(List<Uint8List> seeds, PublicKey programId) Future<List>
findProgramAddressSync(List<Uint8List> seeds, PublicKey programId) List
isOnCurve(Uint8List pubKey) bool