Website
Official site
curl -sS -X POST https://api-berachain-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-berachain-mainnet.n.dwellir.com/76e862fe-da3d-41b8-bbf6-a28db0fbb36f');const latest = await provider.getBlockNumber();console.log('block', latest);
import requestsurl = 'https://api-berachain-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-berachain-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))}
BeraChain is a blockchain platform designed for scalability and sustainability, focusing on energy efficiency and high transaction throughput. It supports smart contracts and decentralized applications, catering to both enterprise and public needs.
How many calls do you make per month?
and join other leading Web3 companies using Dwellir's infrastructure
© Copyright 2025 Dwellir AB