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.
Request access token
Please leave your access request at the CSPR.cloud website if you haven't done it yet. Once we review it, we'll send you an email with your access token. Keep an eye on your inbox.
While waiting, you can play with the API using the demo access token 55f79117-fc4d-4d60-9956-65423f39a06a
. Note, that it's a shared token and it can drain its rate limit and quotas quickly.
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