Asset

An asset is any cryptocurrency or crypto token which can be associated with a price. Example of assets are Bitcoin, Ethereum and Santiment tokens.

Availability

There are different ways to check which assets are supported by the products in Santiment's platform.

Sanpy

1
2
import san
san.get("projects/all")

SanAPI

The following GraphQL query gives a list of all assets

1
2
3
4
5
6
{
  allProjects {
    name
    slug
  }
}

You can call it with curl like that:

1
2
3
4
5
curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "{ allProjects { name slug }}" }' \
  https://api.santiment.net/graphql

Sansheets

Once you have intalled the plugin use function =SAN_ALL_PROJECTS() to fetch the list of all projects.

Was this article helpful?