This guide is currently React only.
Summary
You can access RPC providers via SDK utilities to make RPC calls to EVM and Solana, including convenience methods that do not require going through a wallet. Each provider will use the RPC configured in the Dashboard if present, otherwise they fall back to public RPCs urls. You can see the public URL by checking on the network in the dashboard.Dashboard Configuration
To enter your provider url for a given network:- Go to the Chains & Networks page in your Dashboard.
- Click on the chain to open the details tab
- Click the down down arrow to expand a network
- Enter your Provider Url
- Click the test button to check url
Overriding RPC URLs in code
EVM
You can override RPC URLs via SDK utilities and network override settings. See the SDK Tabs below for the specific API names and usage. The following example demonstrates overriding RPC URLs for Ethereum mainnet and Polygon using SDK utilities within the corresponding SDK Tab.SVM (sdk v4.8.0+)
You can override RPC URLs for SVM networks via SDK utilities and network override settings. See the SDK Tabs below for the specific API names and usage. The following example demonstrates overriding RPC URLs for Solana mainnet and Eclipse using SDK utilities within the corresponding SDK Tab.Fetching RPC Providers
You can fetch RPC providers via SDK utilities. See the SDK Tabs below for specific APIs and usage. These utilities typically expect a selector parameter to choose EVM or Solana providers.The provider for EVM or Solana Mainnet, if mainnet is enabled
A full list of all EVM or Solana providers that have been configured
A convenience method that lets you retrieve a provider for a specific Chain ID
Check out the reference for
EvmRpcProvider and
SolanaRpcProvider