Sushi Bar logo

Sushi Bar

18 Queries (Past 30D)

5.0K Signal

Updated a year ago

Network

mainnet

Subgraph ID

BYHYXF—GqgnV8

Deployment ID

QmerLs—Uvf7LT

Query URL

/subgraphs/id/BYHYXF—GqgnV8

18 Queries (Past 30D)

5.0K Signal

Updated a year ago

Network
mainnet
Subgraph ID
BYHYXF—GqgnV8
Deployment ID
QmerLs—Uvf7LT
Query URL
/subgraphs/id/BYHYXF—GqgnV8
Index Status

Query quick start

The production url for querying this Subgraph on the decentralized network.

Query url format

{base_url}

/api

/subgraphs/id/

{subgraph_id}

Base URL
https://gateway.thegraph.com/api
Subgraph id
BYHYXF8wxiBcsbjf5BUou1mGxjdaKkkzHjnATUGqgnV8
Query URL
https://gateway.thegraph.com/api/subgraphs/id/BYHYXF8wxiBcsbjf5BUou1mGxjdaKkkzHjnATUGqgnV8

bash
curl -X POST \  -H "Content-Type: application/json" \  -H "Authorization: Bearer {api-key}" \  -d '{"query": "{ bars(first: 5) { id decimals name sushi } users(first: 5) { id bar { id } xSushi xSushiIn } }", "operationName": "Subgraphs", "variables": {}}' \  https://gateway.thegraph.com/api/subgraphs/id/BYHYXF8wxiBcsbjf5BUou1mGxjdaKkkzHjnATUGqgnV8