Skip to content

@lelantos-org/sdk / protocol / PaymentProofReader

Interface: PaymentProofReader ​

Defined in: @lelantos-org/sdk/dist/bundle/payment-proof.d.ts:95

The chain reads of verifyPaymentProof; a ChainReader with log access satisfies it.

Methods ​

chainId() ​

ts
chainId(): Promise<bigint>;

Defined in: @lelantos-org/sdk/dist/bundle/payment-proof.d.ts:96

Returns ​

Promise<bigint>


fetchNotePayload()? ​

ts
optional fetchNotePayload(txHash, cm): Promise<PublishedNote | null>;

Defined in: @lelantos-org/sdk/dist/bundle/payment-proof.d.ts:97

Parameters ​

ParameterType
txHashHex32
cmHex32

Returns ​

Promise<PublishedNote | null>