> ## Documentation Index
> Fetch the complete documentation index at: https://docs.halliday.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# User Transaction History in the SDK

To show the past Halliday payment activity of the account in the widget, the user can click or tap the icon at the top right of the widget. This opens the **Transactions & activity** page of the widget.

To directly open this screen in the widget, use the `openActivity` method.

<Tabs>
  <Tab title="React">
    ```tsx copy theme={null}
    const { openActivity } = useHallidayPayments();

    // Must be called after openDeposit()/openWithdrawal()
    <button onClick={openActivity}>
      Open Activity
    </button>
    ```
  </Tab>

  <Tab title="JavaScript">
    ```tsx copy theme={null}
    const halliday = new HallidayPayments({ /* ... */});

    // ...

    button.addEventListener("click", halliday.openActivity);
    ```
  </Tab>
</Tabs>
