Skip to content

@lelantos-org/sdk / index / PaymentProof

Interface: PaymentProof ​

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

A sender's proof of one payment. Every field is a string or a small integer, so it survives JSON.stringify unchanged.

Hand it only to whoever should learn the payment: with the payee's address it reveals that output's asset, value and memo.

Properties ​

chainId ​

ts
chainId: string;

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

Decimal chain id of the pool the payment was made on.


commitment ​

ts
commitment: Hex32;

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

The output's commitment, as the pool published it.


osk ​

ts
osk: Hex32;

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

The output secret: 32 bytes, the preimage of the seed in the output's plaintext.


rho ​

ts
rho: Hex32;

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

The output note's rho, a field element.


txHash ​

ts
txHash: Hex32;

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

The spend's transaction.


version ​

ts
version: 3;

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