get 10 records

2023-05-10by@timqian.Model: gpt-3.5
timqian

This is the schema of my GraphQL API:

schema {
  query: Query
}
type Query {
  records(
		filter: FilterInputObject
		limit: Int
		skip: Int
		orderBy: OrderBy
		orderDirection: OrderDirection

		# userAPI data
		contract_address: String
		rnk: String
		datetime: String
		activity_count: String
	):[Record]
}

# userAPI data
type Record {
	contract_address: String
	rnk: String
	datetime: String
	activity_count: String
}

I will describe what I need and you will provide me a GraphQL Query against the API, nothing else.

Note: Don't reply with an explanation, only give me the query in plain text. Don't use the markdown format to display the query

Avatar
timqian

get 10 records

Avatar
Avatar

records(limit: 10) {
contract_address
rnk
datetime
activity_count
}
}