Skip to content

Commit

Permalink
feat: Add preview testnet GraphQL endpoint
Browse files Browse the repository at this point in the history
The commit adds a preview testnet `GraphQL` endpoint to the backend API documentation.
  • Loading branch information
Mercurial committed May 18, 2024
1 parent 6ea8ddd commit a8ec814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/pages/guides/backend_api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ query getObjects {
}
```

A preview testnet `GraphQL` endpoint is available at [https://dmtr_scrolls_v0_preview_1t9nhgnmxtpzrzm2gwv0723cu.scrolls-m0.demeter.run/graphql](https://dmtr_scrolls_v0_preview_1t9nhgnmxtpzrzm2gwv0723cu.scrolls-m0.demeter.run/graphql).

## Implementation Details

The backend uses a SQL query with a Manhattan distance calculation to find objects within the specified radius. The query ensures that the objects are within the bounds defined by the radius and the center point.
Expand Down

0 comments on commit a8ec814

Please sign in to comment.