TransactionPayloadEncryptedPayload class

EncryptedPayload::Encrypted as a TransactionPayload. BCS: variant tag (5) | inner tag (0) | Ciphertext | TransactionExtraConfig | 32-byte payload_hash | u64 epoch | Option<ClaimedEntryFunction>.

Inheritance

Constructors

TransactionPayloadEncryptedPayload(Ciphertext ciphertext, TransactionExtraConfig extraConfig, Uint8List payloadHash, BigInt encryptionEpoch, [ClaimedEntryFunction? claimedEntryFunction])

Properties

ciphertext → Ciphertext
final
claimedEntryFunction → ClaimedEntryFunction?
final
encryptionEpoch → BigInt
Epoch hint matching the node's per-epoch encryption key (see aptos-core EncryptedInner).
final
extraConfig → TransactionExtraConfig
final
hashCode → int
The hash code for this object.
no setterinherited
payloadHash → Uint8List
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

bcsToBytes() → Uint8List
Serializes a Serializable value to its BCS representation. This function is the Dart SDK equivalent of bcs::to_bytes in Move.
inherited
bcsToHex() → Hex
Converts the BCS-serialized bytes of a value into a Hex instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(Serializer serializer) → void
Serialize a Transaction Payload.
override
toString() → String
Returns the hex string representation of the value with the 0x prefix.
inherited
toStringWithoutPrefix() → String
Returns the hex string representation of the value without the 0x prefix.
inherited

Operators

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

Static Methods

load(Deserializer deserializer) → TransactionPayloadEncryptedPayload