Skip to content
Magma Devs
Smart Router Quickstart

Get started with Smart Router

Start 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.

1

Talk to us

Your setup is live within a day.

Talk to us
2

Point your client at your endpoint

import { 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.

3

Send the first request

curl -X POST https://<your-router>/eth \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Plans and prices

License

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.