@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
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
commitment: Hex32;Defined in: @lelantos-org/sdk/dist/bundle/payment-proof.d.ts:22
The output's commitment, as the pool published it.
osk
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
rho: Hex32;Defined in: @lelantos-org/sdk/dist/bundle/payment-proof.d.ts:24
The output note's rho, a field element.
txHash
txHash: Hex32;Defined in: @lelantos-org/sdk/dist/bundle/payment-proof.d.ts:20
The spend's transaction.
version
version: 3;Defined in: @lelantos-org/sdk/dist/bundle/payment-proof.d.ts:16