---
agentTools:
  projectIndex: https://parcel.readme.io/llms.txt
---

# Queries

Queries for Search Results

# searchResult

Returns the results of a search.

```text
searchResult(query) {
  /* SearchResult fields */
}
```

## Arguments

#### `query` String! *required*

The query string to search for across assets, collections, listings, games, and wallets.

## Response

#### `SearchResult.*` [SearchResult](https://parcel.readme.io/reference/search-results-definitions)

Any requested field from the SearchResult object.

## Example

#### Request

```graphql GraphQL
query {
  searchResult(query: "Dec") {
    query
    assets {
      id
      name
    }
    collections {
      id
      name
    }
    games {
      id
      name
    }
    listings {
      id
      asset {
        name
      }
    }
    wallets {
      id
      address
    }
  }
}
```

#### Response

```json
{
  "data": {
    "searchResult": {
      "query": "Dec",
      "assets": [],
      "collections": [
        {
          "id": 1,
          "name": "Land"
        }
      ],
      "games": [
        {
          "id": 1,
          "name": "Decentraland"
        }
      ],
      "listings": [],
      "wallets": []
    }
  }
}
```