Polkadot RPC Endpoints
- Family
- Substrate
Quick Start
curl -sS -X POST https://api-polkadot.n.dwellir.com/<your-api-key> \-H 'Content-Type: application/json' \-d '{"id":1,"jsonrpc":"2.0","method":"chain_getBlockHash","params":[0]}'
import { ApiPromise, WsProvider } from '@polkadot/api';const provider = new WsProvider('wss://api-polkadot.n.dwellir.com/<your-api-key>');const api = await ApiPromise.create({ provider });const hash = await api.rpc.chain.getBlockHash(0);console.log(hash.toHex());
from substrateinterface import SubstrateInterfacesubstrate = SubstrateInterface(url='wss://api-polkadot.n.dwellir.com/<your-api-key>')block_hash = substrate.get_block_hash(block_id=0)print(block_hash)
package mainimport ("fmt"gsrpc "github.com/centrifuge/go-substrate-rpc-client/v4""github.com/centrifuge/go-substrate-rpc-client/v4/types")func main() {api, err := gsrpc.NewSubstrateAPI("wss://api-polkadot.n.dwellir.com/<your-api-key>")if err != nil { panic(err) }var h types.Hashh, err = api.RPC.Chain.GetBlockHash(0)if err != nil { panic(err) }fmt.Println(h.Hex())}
Polkadot is a multi-chain blockchain platform that fosters interoperability between different blockchains. Created by Ethereum co-founder Gavin Wood, it consists of a central relay chain connected to multiple parachains, each with its own unique design and rules. Key features include cross-chain communication and scalability, enabling data sharing, collaboration, and parallel processing of transactions. Polkadot's innovative consensus mechanism combines proof-of-stake and nominated proof-of-stake systems, promoting network security and decentralization. This platform represents a leap in blockchain technology, providing a framework where diverse blockchains can interact seamlessly.
Shared Node Pricing
How many calls do you make per month?
Growth
- 500 Responses /sec
- Pay in Crypto
- Dedicated Account Manager
- Unmetered requests within your tier
- Five tiers from 25 to 1,000 RPS
- No API credits, no overages
- Pay in Crypto
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Same endpoint URL and API key
- Self-serve in the dashboard
- Fixed monthly invoice
- Unlimited RPS & Responses
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Pay in Crypto
- Dedicated Account Manager
- Tailored load balancing
- Access to Engineering teams
- Global data centers
Developer Resources
FAQs
How does the Polkadot blockchain work?
What are the key features of the Polkadot network?
What SDKs are available for developers to interact with the Polkadot network?
Are there any good resources for polkadot developers?
How can I transfer assets using XCM?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure