Skip to main content

useResolveIntent

The useResolveIntent hook completes the intent that your Mini is handling and sends the result back to the Shop app. Pair it with useIntent to read the incoming intent, then resolve it with an ok, error, or closed result.

Pass the intent key to useResolveIntent so TypeScript can narrow the result data to the intent's contract.

Anchor to intentKey
intentKey
K extends
required

<K extends >


Was this page helpful?