How to Add a Custom Remote Procedure Call (RPC) to OKX Wallet

·

Remote Procedure Call (RPC) is a protocol that enables your OKX Wallet to communicate with a specific blockchain network. By adding a custom RPC, you can manually connect to unsupported networks (e.g., testnets or custom EVM-compatible chains) not preloaded in the wallet. This feature is especially valuable for developers or users exploring emerging or niche blockchains.

Why Use Custom RPCs?

Custom RPCs allow you to:

👉 Learn more about blockchain networks


Step-by-Step Guide to Add a Custom RPC

Via Mobile App

  1. Open the OKX Web3 Wallet app.
  2. Tap the network dropdown menu at the top of the wallet interface.
  3. Select Custom or Add Network.
  4. Enter the following details:

    • Network Name: A descriptive label (e.g., "My Testnet").
    • New RPC URL: A valid HTTPS endpoint (e.g., https://rpc.testnet.chain).
    • Chain ID: The unique network identifier (e.g., 137 for Polygon).
    • Currency Symbol (optional): Native token symbol (e.g., ETH, BNB).
    • Block Explorer URL (optional): For transaction tracking.
  5. Click Confirm or Save.

Via Browser Extension

  1. Log in to your OKX Wallet extension.
  2. Click the network selector (e.g., Ethereum, BNB Chain).
  3. Choose Add Network.
  4. Fill in the same details as above.
  5. Select Save or Add.

Your custom RPC network will now appear in the network list.


Best Practices

👉 Troubleshoot RPC issues


FAQs

1. What happens if my RPC endpoint goes offline?

Your wallet won’t sync with the blockchain until the endpoint is restored. Always use reliable providers or fallback URLs.

2. Can I add multiple custom RPCs?

Yes! OKX Wallet supports multiple custom networks. Repeat the steps for each new RPC.

3. Are custom RPCs secure?

Security depends on the endpoint provider. Avoid public RPCs with rate limits or untrusted origins.

4. Why isn’t my custom network working?

Ensure:


Final Notes

For unresolved issues, consult the blockchain’s official documentation or contact OKX support.