attachProofs()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / attachProofs
Function: attachProofs()
Section titled “Function: 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.
Parameters
Section titled “Parameters”intent
Section titled “intent”The intent to attach proofs to
fundingProof
Section titled “fundingProof”The funding proof (balance >= minimum)
validityProof
Section titled “validityProof”The validity proof (authorization)
Returns
Section titled “Returns”The intent with proofs attached