Try Mantle Endpoints
Quick Start
curl -sS -X POST https://api-mantle-mainnet.n.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd \-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-mantle-mainnet.n.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd');const latest = await provider.getBlockNumber();console.log('block', latest);
import requestsurl = 'https://api-mantle-mainnet.n.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd'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-mantle-mainnet.n.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd"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))}
Mantle is a Layer-2 scalability solution for Ethereum, combining an optimistic rollup protocol with an innovative data availability solution. It aims to enhance Ethereum's throughput and reduce costs while maintaining security and decentralization. The network utilizes a modular architecture, separating transaction execution, consensus, and data storage into different layers. Mantle's key features include lower gas fees, reduced latency, improved throughput, and robust security by leveraging Ethereum's validator set. It also introduces unique components such as a centralized sequencer and fraud proof mechanisms.
Pricing
How many calls do you make per month?
Growth
- 500 Responses /sec
- Dedicated Account Manager
Developer Resources
FAQs
What is Mantle?
How does Mantle improve Ethereum's scalability?
What is the architecture of Mantle?
Is Mantle secure?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure