Skip to main content

SystemTransaction

For the complete documentation index, see llms.txt

@midnight/zswap v4.0.0-rc


@midnight/zswap / SystemTransaction

Class: SystemTransaction

A priviledged transaction issued by the system.

Methods​

serialize()​

serialize(netid): Uint8Array<ArrayBufferLike>

Parameters​

netid​

NetworkId

Returns​

Uint8Array<ArrayBufferLike>


toString()​

toString(compact?): string

Parameters​

compact?​

boolean

Returns​

string


deserialize()​

static deserialize(raw, netid): Transaction

Parameters​

raw​

Uint8Array<ArrayBufferLike>

netid​

NetworkId

Returns​

Transaction