Ga naar de hoofdinhoud

Polkadot QuickStart

Bijgewerkt op
Mar 27, 2026

The quickest way to start building on Polkadot with Quicknode is by sending a JSON-RPC request to your endpoint. In this quickstart, you'll create an endpoint, copy its provider URL, and make your first request. Code samples are available in cURL as well as other popular programming languages.

Get Your Polkadot Endpoint

1

Create a Quicknode account

Sign up here if you haven't already.

2

Go to your dashboard

Open the Endpoints dashboard from the left sidebar menu to manage all your blockchain endpoints

3

Een nieuw eindpunt aanmaken

Click Create an Endpoint in the top-right corner, select Polkadot as your blockchain, then select your preferred network

4

Copy your provider URLs

Keep the HTTP URL handy. You'll use it in your requests below.

Learn More about the Dashboard

For a detailed walkthrough of the Quicknode dashboard, check out our guide

Dien je eerste aanvraag in

Your endpoint is ready. Now, let's make your first call to the Polkadot blockchain. We'll use the chain_getBlockHash method, which retrieves the hash of a specific block by its number. Select your preferred language and follow the steps below to send your first request.


1

Check cURL installation

Most *nix based systems have cURL support out of the box. Open your terminal and check the cURL version by running the command below:

curl --version
2

Send a JSON-RPC request

In your terminal, copy and paste the following cURL command to retrieve the latest block hash:

curl -X POST YOUR_QUICKNODE_ENDPOINT_URL/ \
-H "Content-Type: application/json" \
-d '{"method":"chain_getBlockHash","params":[],"id":1,"jsonrpc":"2.0"}'
3

Sample Response

{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1234567890abcdef..."
}

If you want to continue learning about making API requests, check out our guides and sample apps.

We ❤️ feedback!

Mocht je opmerkingen of vragen hebben over deze documentatie, laat het ons dan weten. We horen graag van je!

Deel dit document