Skip to main content

degradeToTransient

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / degradeToTransient

Function: degradeToTransient()

function degradeToTransient(persistent): Value;

Internal

Internal implementation of the degrade to transient primitive

Parameters

persistent

Value

Returns

Value

Throws

If persistent does not encode a 32-byte bytestring