AlignedValue

data class AlignedValue(val value: List<ByteArray>, val alignmentJson: String)

Represents a field-aligned byte array value from the Midnight runtime.

The value is a list of byte arrays, one per alignment slot. The alignment describes how each slot maps to ZK circuit fields.

Example: a 32-byte public key has value = [...32 bytes...] and alignment = { tag: "atom", value: { tag: "bytes", length: 32 } }

Constructors

Link copied to clipboard
constructor(value: List<ByteArray>, alignmentJson: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard