Skip to content

@lelantos-org/sdk / index / PaymentProofTarget

Interface: PaymentProofTarget ​

Defined in: @lelantos-org/sdk/dist/wallet/ops/payment-proof.d.ts:8

Which output to prove, and what it paid: a transfer result's txHash, recipientCommitment, recipient and amount, and the memo the transfer was given.

Properties ​

amount ​

ts
amount: CircuitAmountLike;

Defined in: @lelantos-org/sdk/dist/wallet/ops/payment-proof.d.ts:17

The output's value, in circuit units.


asset ​

ts
asset: AssetIdLike;

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

The asset the output paid in.


commitment ​

ts
commitment: string;

Defined in: @lelantos-org/sdk/dist/wallet/ops/payment-proof.d.ts:11

The payee's commitment: TransferResult.recipientCommitment.


memo? ​

ts
optional memo?: string;

Defined in: @lelantos-org/sdk/dist/wallet/ops/payment-proof.d.ts:19

The transfer's memo, exactly as given. Omit when it had none.


recipient ​

ts
recipient: string;

Defined in: @lelantos-org/sdk/dist/wallet/ops/payment-proof.d.ts:13

The shielded address the output paid.


txHash ​

ts
txHash: string;

Defined in: @lelantos-org/sdk/dist/wallet/ops/payment-proof.d.ts:9