IntentGuard SDK
    Preparing search index...

    Function createVerifyIntentInstruction

    • Build a verify_intent instruction without Anchor dependency.

      Parameters

      • user: PublicKey

        The wallet that committed the intent (signer)

      • appId: PublicKey

        Target app/program public key (must match commit)

      • intentHash: Uint8Array<ArrayBufferLike> | number[]

        32-byte hash to verify against

      • programId: PublicKey = INTENT_GUARD_PROGRAM_ID

        IntentGuard program ID (default: devnet)

      Returns TransactionInstruction