[Eco Bounty] RPC error popup due to missing API key on Buy/Swap click

Wallet Address:

0x0f06443fbfc0Eb7D1f1c98DC74005546e2f70AAb
Bug Description:

When users access the Trade → Buy or Swap feature, the app sends a request to the Ankr RPC endpoint (https://rpc.ankr.com/eth) to retrieve wallet balance. However, because no API key is provided, a popup error appears immediately, showing a message that the request is unauthorized.
Device & Testing Environment:

  • Device: Dell Laptop

  • OS: Ubuntu

  • Browser: Chrome

Steps to Reproduce:

Actual Result:

A popup appears on the main screen

Expected Result:

  • The application should include a valid API key in the Ankr RPC call, or use another Ethereum RPC endpoint that does not require authentication. This avoids disruption in the user flow.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
💡

New Issue

Date

7 months ago

Author

klrt0120

Subscribe to post

Get notified by email when there are changes.