# Status Mode

`mode = ModeOptions.status`

Status mode displays the progress of a transaction that has already been submitted to Kima. This is useful if the normal flow was interrupted and the status needs to be displayed again. Usually the transaction status view will display automatically after the user approves and submits the transaction.

> ⚠️ `txId` is the transaction id returned from `/submit/transfer` or `/submit/swap` - not the transaction hash. I.e `22843`

```tsx
const App = () => {
  return (
     <KimaProvider
      projectId='your-project-id'
      kimaBackendUrl="http://localhost:4000"
    >
      <KimaTransactionWidget
        theme={{ colorMode: ColorModeOptions.dark }}
        mode={ModeOptions.status}
        txId={22843}
      />
    </KimaProvider>
  );
};
```

You would see a page that looks like this:

<figure><img src="/files/mephIovneDGIrVdjvdds" alt=""><figcaption></figcaption></figure>

If you want to allow users to get a previous transaction from the UI, you must not provide the txId prop to the KimaTransactionWidget component. This will display the transaction search form.

<figure><img src="/files/2fEf7S4lDwayQHCYH1M4" alt=""><figcaption></figcaption></figure>

If the transaction id is valid, and the transaction is found, the corresponding progress of the transaction will be displayed.

<figure><img src="/files/JJftjs570iDrfiLF0RgK" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kima.network/kima-network/the-kima-sdk/add-kima-widget-to-your-app/widget-status-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
