Skip to content

@armada/sdk / index / formatCommitmentCiphertext

Function: formatCommitmentCiphertext()

formatCommitmentCiphertext(raw): CommitmentCiphertextV2

Defined in: src/sync/event-decoder.ts:144

Map an on-chain CommitmentCiphertext struct to the note-crypto CommitmentCiphertextV2 shape.

Parameters

raw

RawCommitmentCiphertext

Returns

CommitmentCiphertextV2