Comment on page
⛓
Use Blockchain API
Quick start guide for Web3 developers
Sign Up
Login
Step 1: Once you have logged in to ChainUp Cloud, you will need to create a new API key and select the blockchain.

Create API
Step 2: Now, type in the name of your API and select the blockchain.
Select Blockchain
Step 3: After creating the API, you will get access to the API key under the Project's API Panel, where you can view, copy, create and delete your API keys. You can also view other statistics on the API usage.
View API key
Step 4: You can also scroll down to get more info regarding the integration.
Integration guide
Step 5: You can scroll further down to configure the settings of the API.
Configure API settings
Step 6: You can return the dashboard API panel to have an overview of all your APIs.
API Overview
In this example, we’ll access the Polkadot Blockchain.
Step 1: When scrolling down to the integration section, you will be provided with the URL for this service.
Integration guide
Step 2: Depending on your setup, there are several ways to use your API key. You can either use the JSON-RPC, WebSocket and more. Here is an example curl:
curl -i -X POST -H 'content-type: application/json' --data '{"jsonrpc":"2.0","method":"chain_getBlock","params":[],"id":32}' https://api.chainup.net/polkadot/polkadot/93f01aa89fe14a5a9fc1a4c11f6087af
Or you can use WebSocket to connect:
wscat -c wss://api.chainup.net/ws/polkadot/polkadot/93f01aa89fe14a5a9fc1a4c11f6087af
Last modified 1yr ago