Skip to content

@lelantos-org/sdk / advanced / ScanInput

Interface: ScanInput ​

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:3

Properties ​

blockNumber ​

ts
blockNumber: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:18

Block the note landed in. Stored as StoredNote.firstSeenBlock.


ciphertext ​

ts
ciphertext: Uint8Array;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:5

Wire ciphertext: 2B clueBits prefix + ChaCha body, unstripped.


clueR ​

ts
clueR: Uint8Array;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:9

Packed Baby-Jubjub clue point R, as published with the note.


cm ​

ts
cm: bigint;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:15

The tree leaf at leafIndex, i.e. the note commitment: a spend output's published outCm, or for a deposit commitWithInner(publicAssetId, publicIn, inner) over the escrow's public fields (the fee note: feeAssetId, feeIn, feeInner), as the batch circuit builds it.


epk ​

ts
epk: Uint8Array;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:7

Packed Baby-Jubjub recipient ECDH ephemeral pubkey.


leafIndex ​

ts
leafIndex: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:16