Asset

    An asset refers to any cryptocurrency or crypto token that can be associated with a price. Examples of assets include Bitcoin, Ethereum, and Santiment.

    The terms 'asset' and 'project' are often used interchangeably in most contexts.

    Availability

    There are several methods to determine which assets are supported by the products within the Santiment platform.

    Sanpy

    To use Sanpy, you need to import the san module. After importing the module, you can use the get method to retrieve data. Here's how you can do it:

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

    SanAPI

    The GraphQL request below retrieves a list of all assets:

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

    Run in explorer

    You can execute this query using curl as shown below:

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

    Sansheets

    After installing the plugin, you can utilize the =SAN_ALL_PROJECTS() function to retrieve a comprehensive list of all projects.