Can I get the transactions details through webhook which the user is sending/receiving via the Plug’n’Play wallet of web3auth? Is there any way to fetch or get all details like these ( with pagination ):
Currently, the Web3Auth Plug n Play Wallet does not natively provide webhooks to notify you of user transaction activity (sending/receiving) directly out of the box. At this time, there’s no built-in Web3Auth API or webhook that pushes detailed transaction activities like those you described.
How Can You Fetch Transaction Details?
To fetch user transaction details (with similar data structure and pagination), you will typically need to use a blockchain explorer API or a third-party service such as:
Etherscan, Covalent, Alchemy, Moralis, etc.
These services allow you to query wallet addresses for recent transaction history.
Example Approach:
Get the User’s Wallet Address:
You can obtain this after a successful Web3Auth login.
Query a Blockchain Explorer API:
Use the wallet address to get the latest transactions.
Example for Ethereum (Etherscan): Etherscan API – Get account transactions
Implement Your Own Webhook:
You could set up a polling service on your backend that watches user addresses for new transactions, and then trigger your custom webhook logic when new transactions are detected.
If you’d like to see webhook support for transaction activity in Plug n Play Wallet, please let us know so we can consider passing this as a feature request to the product team!
Let me know if you need guidance on integrating with a third-party transaction API or if you have more specific requirements.
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.
Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours