@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
| Parameter | Type |
|---|---|
txHash | Hex32 |
cm | Hex32 |
Returns
Promise<PublishedNote | null>