1
Talk to us
Your setup is live within a day.
Talk to usStart with Magma-managed RPC access, connect your own providers and private nodes, or combine both. Choose hosted onboarding or a self-hosted Smart Router setup. The source-available technology provides provider selection, caching, eligible retries and configured cross-validation; access and production licensing follow your commercial arrangement.
Your setup is live within a day.
Talk to usimport { createPublicClient, http } from 'viem';
import { mainnet } from 'viem/chains';
const client = createPublicClient({
chain: mainnet,
transport: http('https://<your-router>/eth'),
});You get your URL during onboarding.
curl -X POST https://<your-router>/eth \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'Free for evaluation, research and non-commercial use under the PolyForm Noncommercial license. Production and commercial use need an Enterprise License.
Need a hand getting started? Join our Telegram community, reach out to our team or browse all plans.