Skip to main content

Using Multiple Arguments

info

This is a query that retrieves information about reward options with multiple filters, such as specific input assets and type keys. It returns details about the type, metrics, input assets, and providers associated with the reward options. The query also specifies a limit for the amount of data returned for each of these nested objects.

{
rewardOptions(where: {inputAsset: {symbols: ["ETH"]}, typeKeys: ["solo-staking", "pos"]}, limit: 10) {
type {
key
label
}
metrics(limit: 10) {
metricKey
defaultValue
}
inputAssets(limit: 1) {
name
symbol
}
providers(limit: 5) {
name
country
}
}
}