ProofErasedAuthorizedMint
@midnight-ntwrk/ledger v3.0.2 β’ Readme | API
@midnight-ntwrk/ledger v3.0.2 / ProofErasedAuthorizedMint
Class: ProofErasedAuthorizedMint
A request to mint a coin, authorized by the mint's recipient, with the authorizing proof having been erased
Constructorsβ
new ProofErasedAuthorizedMint()β
private new ProofErasedAuthorizedMint(): ProofErasedAuthorizedMint
Returnsβ
Propertiesβ
coinβ
readonly coin: CoinInfo;
The coin to be minted
recipientβ
readonly recipient: string;
The recipient of this mint
Methodsβ
serialize()β
serialize(netid): Uint8Array
Parametersβ
β’ netid: NetworkId
Returnsβ
Uint8Array
toString()β
toString(compact?): string
Parametersβ
β’ compact?: boolean
Returnsβ
string
deserialize()β
static deserialize(raw, netid): ProofErasedAuthorizedMint
Parametersβ
β’ raw: Uint8Array
β’ netid: NetworkId