Output
@midnight-ntwrk/ledger v3.0.2 β’ Readme | API
@midnight-ntwrk/ledger v3.0.2 / Output
Class: Output
A shielded transaction output
Constructorsβ
new Output()β
private new Output(): Output
Returnsβ
Propertiesβ
commitmentβ
readonly commitment: string;
The commitment of the output
contractAddressβ
readonly contractAddress: undefined | string;
The contract address receiving the output, if the recipient is a contract
Methodsβ
serialize()β
serialize(netid): Uint8Array
Parametersβ
β’ netid: NetworkId
Returnsβ
Uint8Array
toString()β
toString(compact?): string
Parametersβ
β’ compact?: boolean
Returnsβ
string
deserialize()β
static deserialize(raw, netid): Output
Parametersβ
β’ raw: Uint8Array
β’ netid: NetworkId