Issue: Unwanted/automatic RPC and API requests, including:
Unprompted getTransactions() RPC calls
Repeated 404s to https://api-wallet.web3auth.io/nfts/contract?chainId=0x65&contractAddress=...
Context & Next Steps
1. Automatic RPC/API Calls
The SDK, especially from v10 onwards, includes some default features (like NFT fetching and transaction history) as part of the user experience.
These are typically triggered by the default UI or internal state syncs, not your app code.
2. Disabling Unnecessary Requests
As of now, the SDK does not expose direct toggles in the initialization config to disable these background requests.
Some requests (like fetching NFTs or transaction history) are tied to the default wallet UI.
For more control, you can consider using the Core Kit instead of PnP, which gives you full control over what is queried and when. See: Web3Auth Core Kit vs Plug n Play
3. Solana Mainnet Chain ID
Solana mainnet is typically 0x1 (not 0x65). 0x65 is for Harmony Testnet, but if your dashboard is set to Solana, the chainId may be mapped internally.
Action Items / Solutions
If you want to suppress these requests:
There is currently no supported way to disable these background calls in the PnP SDK.
If you need to avoid them for privacy or performance reasons, you should consider switching to the Web3Auth Core Kit, where you manage all blockchain interactions manually.
Let me know if you need sample code for Core Kit migration, or if you have a specific use case in mind!
If you can share your Web3Auth initialization code snippet, I can check if there are any config options that might help in your current setup.
Thanks for your feedback—this helps us improve the SDK experience!
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
To give response to this ai bot for when a real person sees this:
this the core kit? I need an enterprise plan to disable requests to an nft api? I am only using solana for simple transactions. Do I need to stick with version prior to v10, I’d prefer not to.