Getting started
This tutorial will help you make your first API call to receive a list of NFT tokens in the CSPR.studio contract.
Prerequisites
We will use cURL to make API calls. You can install it from the curl.se website or by using the package manager of your choice.
Create an access token
Please register on CSPR.build console to create a CSPR.cloud access token.
First API call
To fetch the NFT tokens in the CSPR.studio contract we'll be using the NFT API. The endpoint requires a contract package hash, which we can find on CSPR.live:
Replace "[Your-Access-Token]" with your actual access token in each example.
What's next
Please proceed with the following documents to get familiar with CSPR.cloud:
Overview Learn about the general technical aspects of CSPR.cloud API, and how it works
Highlights Learn about CSPR.cloud API possibilities, which aren't present in the Casper Node RPC API
REST API Get familiar with the REST API reference to know what endpoints are available
Streaming API Get familiar with the Streaming API reference to know what Web Socket subscriptions are available
Casper Node API Learn how to connect to the private Casper Node powered by CSPR.cloud using the most popular SDKs
CSPR.click While CSPR.cloud handles your dApp integration with the Casper Network, CSPR.click takes care of how users of your dApp interact with the blockchain. It provides integration with all the wallets and on-ramp providers in the Casper ecosystem to solve authentication and token-acquiring problems. Please be sure to check it out!
Last updated