Skip to content

attachProofs()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / attachProofs

attachProofs(intent, fundingProof, validityProof): ShieldedIntent

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1105

Attach proofs to a shielded intent

For SHIELDED and COMPLIANT modes, proofs are required before the intent can be submitted. This function attaches the proofs to an intent.

ShieldedIntent

The intent to attach proofs to

ZKProof

The funding proof (balance >= minimum)

ZKProof

The validity proof (authorization)

ShieldedIntent

The intent with proofs attached