ChangeKeySignedOperation class

Inheritance

Constructors

ChangeKeySignedOperation({required AccountNumber signer, required AccountNumber target, required PublicKey newPublicKey})
Creates a new Change Key operation

Properties

fee Currency?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
newPublicKey PublicKey
getter/setter pair
nOperation int?
getter/setter pairinherited
payload Uint8List?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature Signature?
getter/setter pairinherited
signer AccountNumber
getter/setter pair
target AccountNumber
getter/setter pair

Methods

digest() Uint8List
Gets the digest of this operation
override
encodeToBytes() Uint8List
Encode this operation into raw bytes
override
isSigned() bool
Gets a value indicating whether the current operation is already signed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
opType() int
override
sign(PrivateKey privateKey) → void
Sign the operation
inherited
toString() String
A string representation of this object.
inherited
usesDigestToSign() bool
inherited
withFee(Currency fee) → void
Sets the fee.
inherited
withMinFee() → void
Sets the fee to the minimum.
inherited
withNOperation(int? nOperation) → void
inherited
withPayload(Uint8List payload) → void
Sets the payload of the transaction instance.
inherited
withSignature(Signature signature) → void
inherited

Operators

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

Static Methods

decodeFromBytes(Uint8List bytes) ChangeKeySignedOperation
Decode this operation from raw bytes