Skip to main content
This example will guide you through displaying the user’s purchase history. This references our Jackpot Demo Integration Github Repo. You can find the code for the demo integration here or view the live demo here.

History Page

This is the entry point for the history page.

History Component

This component will display the user’s purchase history.

User Purchase History

This component will display the user’s purchase history.

API Route

This API route will fetch the user’s purchase history from the contract using BaseScan’s API.