Try Starknet Endpoints
Quick Start
curl -sS -X POST https://api-starknet-mainnet.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-starknet-mainnet.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f');const latest = await provider.getBlockNumber();console.log('block', latest);
import requestsurl = 'https://api-starknet-mainnet.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f'payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': [] }resp = requests.post(url, json=payload)print(resp.json())
package mainimport ("bytes""fmt""net/http""io/ioutil")func main() {url := "https://api-starknet-mainnet.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f"payload := []byte("{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_blockNumber\",\"params\":[]}")resp, err := http.Post(url, "application/json", bytes.NewBuffer(payload))if err != nil { panic(err) }defer resp.Body.Close()body, _ := ioutil.ReadAll(resp.Body)fmt.Println(string(body))}
StarkNet is a decentralized Layer 2 network live on Mainnet, aimed at providing massive scaling solutions for Ethereum. It allows for fast transactions and low costs, making it a viable solution for developers and users seeking scalable blockchain solutions. StarkNet operates by producing STARK proofs off-chain and sending those proofs on-chain, ensuring Ethereum-level security. Additionally, developers have the freedom to deploy any business logic on StarkNet, benefiting from features like Cairo and Account Abstraction. StarkNet also promotes innovation and easy development through its Ethereum-level composability.
Pricing
How many calls do you make per month?
Growth
- 500 Responses /sec
- Dedicated Account Manager
Developer Resources
FAQs
What is StarkNet?
What are StarkNet Appchains?
How does StarkNet achieve scalability and integrity?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure