Transient
For the complete documentation index, see llms.txt
@midnight/zswap / Transient
Class: Transient
A shielded "transient"; an output that is immediately spent within the same transaction
Properties
commitment
readonly commitment: string;
트랜지언트의 커밋먼트입니다.
contractAddress
readonly contractAddress: undefined | string;
해당하는 경우, 트랜지언트를 생성하는 컨트랙트 주소입니다.
nullifier
readonly nullifier: string;
트랜지언트의 널리 파이어입니다.
Methods
serialize()
serialize(netid): Uint8Array<ArrayBufferLike>
Parameters
netid
Returns
Uint8Array<ArrayBufferLike>
toString()
toString(compact?): string
Parameters
compact?
boolean
Returns
string
deserialize()
static deserialize(raw, netid): Transient
Parameters
raw
Uint8Array<ArrayBufferLike>