curl -H 'content-type:application/json' -d '{"id": 1, "jsonrpc": "2.0", "method": "starknet_blockNumber"}' 'https://starknet.api.onfinality.io/public'https://starknet.api.onfinality.io/publicwss://starknet.api.onfinality.io/public-ws* The public endpoint is rate limited
Archive
Only pay for what you need.
OnFinality provides managed Starknet RPC endpoints and API access for developers building on Starknet, a permissionless Validity-Rollup (ZK-rollup) for Ethereum. With OnFinality, you can connect to Starknet mainnet without running your own node, using authenticated endpoints designed for production workloads.
Starknet is a Layer 2 scaling solution for Ethereum that uses STARK cryptographic proofs to achieve high throughput, low transaction costs, and Ethereum-level security. It supports general computation through its native Cairo programming language, enabling complex dApps, DeFi protocols, and on-chain games. Starknet's native account abstraction and recursive proofs make it a powerful platform for scalable Web3 applications.
Running a Starknet full node requires significant hardware and maintenance effort. OnFinality eliminates this overhead by offering:
Developers use Starknet RPC endpoints for:
starknet_blockNumber method.Public Starknet RPC endpoints are suitable for lightweight testing but often lack reliability and visibility for production use. OnFinality provides authenticated endpoints with clearer limits, request analytics, and a path to higher capacity.
A useful Starknet RPC page should make the connection path, supported capabilities, and production planning trade-offs clear before a developer opens the dashboard.
Best fit: mainnet production workflows for wallet flows, contract apps, and live backends.
What builders usually check first:
Supported capability notes:
Decision notes:
A quick connection check usually starts with starknet_blockNumber, then moves into the exact methods your wallet, dashboard, bot, indexer, or backend service needs.
Planning the next step:
Next steps:
OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.
Get Started