Sample Queries

Below are some sample queries you can use to gather information from the Snowcone contracts.

You can build your own queries using a GraphQL Explorer—enter your endpoint to limit your queries to the exact data desired.

Get Project Metrics By Owner

Get Project ID.

query ProjectByOwner(
  $Owner: String! = "0xaf28bcb48c40dbc86f52d459a6562f658fc94b1e"
) {
  projects(where: { owner: $Owner }, first: 10) {
    createdAt
    id
    owner
    projectId
    totalPaid
    totalRedeemed
    metadataUri
    handle
    terminal
    currentBalance
    cv
  }
}

Project Metrics

Get the latest metrics for your project.

Project Payments

Get the 20 latest payments into your project.

Last updated

Was this helpful?