Skip to main content

SystemTransaction

@midnight-ntwrk/ledger v3.0.2 β€’ Readme | API


@midnight-ntwrk/ledger v3.0.2 / SystemTransaction

Class: SystemTransaction

A priviledged transaction issued by the system.

Constructors​

new SystemTransaction()​

private new SystemTransaction(): SystemTransaction

Returns​

SystemTransaction

Methods​

serialize()​

serialize(netid): Uint8Array

Parameters​

β€’ netid: NetworkId

Returns​

Uint8Array


toString()​

toString(compact?): string

Parameters​

β€’ compact?: boolean

Returns​

string


deserialize()​

static deserialize(raw, netid): Transaction

Parameters​

β€’ raw: Uint8Array

β€’ netid: NetworkId

Returns​

Transaction