UnprovenAuthorizedMint
@midnight/zswap v3.0.2 β’ Readme | API
@midnight/zswap v3.0.2 / UnprovenAuthorizedMint
Class: UnprovenAuthorizedMint
A request to mint a coin, authorized by the mint's recipient, without the proof for the authorization being generated
Constructorsβ
new UnprovenAuthorizedMint()β
private new UnprovenAuthorizedMint(): UnprovenAuthorizedMint
Returnsβ
Propertiesβ
coinβ
readonly coin: CoinInfo;
The coin to be minted
recipientβ
readonly recipient: string;
The recipient of this mint
Methodsβ
erase_proof()β
erase_proof(): ProofErasedAuthorizedMint
Returnsβ
serialize()β
serialize(netid): Uint8Array
Parametersβ
β’ netid: NetworkId
Returnsβ
Uint8Array
toString()β
toString(compact?): string
Parametersβ
β’ compact?: boolean
Returnsβ
string
deserialize()β
static deserialize(raw, netid): UnprovenAuthorizedMint
Parametersβ
β’ raw: Uint8Array
β’ netid: NetworkId