ScriptPublicKey class

Annotations
  • @freezed

Constructors

ScriptPublicKey({@JsonKey.new(fromJson: hexToBytes, toJson: bytesToHex) required Uint8List scriptPublicKey, required int version})
const
factory
ScriptPublicKey.fromJson(Map<String, dynamic> json)
factory
ScriptPublicKey.fromRpc(RpcScriptPublicKey rpc)
factory

Properties

copyWith → $ScriptPublicKeyCopyWith<ScriptPublicKey>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptPublicKey Uint8List
no setterinherited
version int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toRpc() RpcScriptPublicKey
toString() String
A string representation of this object.
inherited

Operators

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