Integrate Toplex into your Solana application in minutes. Drop-in compatible with existing @solana/web3.js code.
Install the Toplex SDK and start routing transactions through our optimized execution layer.
You can use Toplex as a direct RPC endpoint without changing any existing code. Simply replace your RPC URL:
Core methods available in the Toplex SDK.
sendOptimizedTransaction()Send a transaction with automatic priority fee optimization, MEV protection, and retry logic.
getTransactionStatus()Check the real-time status of a submitted transaction including slot confirmation and retry count.
estimatePriorityFee()Get the ML-predicted optimal priority fee for current network conditions.
simulateTransaction()Simulate a transaction against the latest state with detailed error traces if it would fail.
subscribeToSlot()WebSocket subscription for real-time slot updates with leader schedule awareness.
getNetworkHealth()Returns current TPS, slot time, and congestion metrics across all Toplex edge nodes.
Need help? Reach out to us on Twitter / X or email us at support@toplex.io.