Custom RPC Endpoints
How to configure custom RPC endpoints for higher reliability and how to test your connection.
AshePay ships with public RPC endpoints for every chain - no account or API key required. If you process a high volume of orders or want more reliability, you can replace the defaults with your own private RPC from a provider like Infura, Alchemy, or QuickNode.
Default RPC endpoints
The plugin uses these public endpoints out of the box:
- Ethereum - https://eth.llamarpc.com
- Polygon - https://polygon-rpc.com
- BNB Chain - https://bsc-dataseed.binance.org
- Arbitrum - https://arb1.arbitrum.io/rpc
- Base - https://base.llamarpc.com
- Solana - https://api.mainnet-beta.solana.com
- Tron - https://api.trongrid.io/jsonrpc
- Bitcoin - Blockstream Esplora API (blockstream.info)
These are free-tier public endpoints. They work reliably for most stores but have rate limits. If you are processing many orders per hour, a private RPC will be more stable.
Adding a custom endpoint
- Go to WooCommerce → Settings → Payments → AshePay
- Scroll to the chain you want to update
- Find the RPC Endpoint field and paste your custom URL
- Click Test Connection to verify it works
- Save settings
[IMAGE: AshePay settings showing the Ethereum section expanded with an RPC Endpoint field containing a custom Infura URL, and a "Test Connection" button next to it]
Test Connection
The Test Connection button sends a request to the RPC endpoint and shows the result in real time:
- ✓ Connected - block 21,847,392 - The endpoint is working correctly. The number shown is the current block height.
- ✗ Connection failed - [error message] - The URL is wrong, the endpoint is down, or your API key is incorrect.
[IMAGE: AshePay settings showing a green success banner reading "✓ Connected - block 21,847,392" after clicking Test Connection]
Where to get a private RPC: Infura (infura.io), Alchemy (alchemy.com), and QuickNode (quicknode.com) all offer free tiers with generous monthly limits. A free Infura account gives you 100,000 requests/day - more than enough for most WooCommerce stores.
Bitcoin uses the Blockstream Esplora API for monitoring. This is not an RPC - it is a public REST API and does not require any configuration.