Dont know how to disable unneccessary rpc and api requests

Hi there,

I updated to newest v10 sdk but I’m confused why it makes alot of these requests and i dont know how to disable them e.g.

getTransactions() rpc without my permission (upgraded helius rpc to make it succeed)

then:

spam 404 to:

https://api-wallet.web3auth.io/nfts/contract?chainId=0x65&contractAddress=

which I dont need.

Regards, Lachlan

Context:

Im on solana mainnet 0x65 (I think)

Hi Lachlan, thanks for raising this!

Summary of your issue:

  • SDK: Web3Auth Plug n Play (PnP) Web SDK
  • Version: v10 (latest)
  • Platform: Web, Solana Mainnet (chainId: 0x65)
  • 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.
    • For custom UI and full control, see the Solana Core Kit integration guide.
  • If you want to keep using PnP but minimize noise:

    • You can try hiding or customizing the default wallet UI, but some calls may still be made internally.
    • There is an open feature request for more granular control over these background queries. You can upvote or track it here: Web3Auth Community: Disable Default API Calls.

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.

Regards, Lachlan