Here's how it works:
Here's how it works:
We have defined the SDEX contract address and staking address in the code.
We have also defined the Etherscan API URL that returns SDEX transactions involving the specified staking address.
When the user clicks the "Check" button, a GET request is sent to this URL via the axios API.
We extract the list of addresses that have sent SDEX to the staking address, filtering out the output transactions.
Then, we remove duplicates from this list, as we only want to count each address that staked SDEX once.
Finally, we display the number of unique addresses that currently have SDEX staked on the provided staking address.