ProofErasedInput
@midnight-ntwrk/ledger v3.0.2 β’ Readme | API
@midnight-ntwrk/ledger v3.0.2 / ProofErasedInput
Class: ProofErasedInput
A Input, with all proof information erased
Primarily for use in testing, or handling data known to be correct from external information
Constructorsβ
new ProofErasedInput()β
private new ProofErasedInput(): ProofErasedInput
Returnsβ
Propertiesβ
contractAddressβ
readonly contractAddress: undefined | string;
The contract address receiving the input, if the sender is a contract
nullifierβ
readonly nullifier: string;
The nullifier of the input
Methodsβ
serialize()β
serialize(netid): Uint8Array
Parametersβ
β’ netid: NetworkId
Returnsβ
Uint8Array
toString()β
toString(compact?): string
Parametersβ
β’ compact?: boolean
Returnsβ
string
deserialize()β
static deserialize(raw, netid): ProofErasedInput
Parametersβ
β’ raw: Uint8Array
β’ netid: NetworkId