Skip to main content

Simple Object Queries

info

You can fetch a single data entry using a simple object query. Any argument has to be an array (except booleans).

This is a simple query that retrieves information about a specific asset, filtered by its symbol "ETH".
The limit parameter is set to 1, meaning only one asset will be returned in the response.

{
assets(where: {symbols: ["ETH"]}, limit: 1) {
id
name
slug
description
symbol
}
}