Website
Official site
curl -sS -X POST https://api-etherlink-mainnet.n.dwellir.com/<your-api-key> \-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-etherlink-mainnet.n.dwellir.com/<your-api-key>');const latest = await provider.getBlockNumber();console.log('block', latest);
import requestsurl = 'https://api-etherlink-mainnet.n.dwellir.com/<your-api-key>'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-etherlink-mainnet.n.dwellir.com/<your-api-key>"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))}
Etherlink is an Ethereum-compatible execution layer on Tezos. Dwellir provides HTTPS and WebSocket archive RPC for Etherlink mainnet from two sites in Sweden.
How many calls do you make per month?
and join other leading Web3 companies using Dwellir's infrastructure