Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/airstack-xyz/farcaster-subgraph
Repo to index farcaster data
https://github.com/airstack-xyz/farcaster-subgraph
Last synced: about 21 hours ago
JSON representation
Repo to index farcaster data
- Host: GitHub
- URL: https://github.com/airstack-xyz/farcaster-subgraph
- Owner: Airstack-xyz
- Created: 2022-09-27T03:10:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-28T21:18:28.000Z (about 2 years ago)
- Last Synced: 2023-03-10T18:33:36.242Z (over 1 year ago)
- Language: TypeScript
- Size: 61.5 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# farcaster-subgraph
Repo to index farcaster data on GoerliThis Repo indexes Users on forcaster Dapp.
1. Every user will have fId
2. One user can have more than 1 fnames.Subgraph is deployed here:
[https://thegraph.com/subgraphs/name/airstack-xyz/farcaster-goerli](https://thegraph.com/subgraphs/name/airstack-xyz/farcaster-goerli)1. Query to get details of a user by id:
```
{
users(where:{id: "100"}) {
id
fId
address
url
fnames {
id
fname
tokenURI
createdAtBlock
createdAtTimestamp
}
createdAtBlock
createdAtTimestamp
}
}```
Note: Change Id as required2. Query to get list of users
```
{
users {
id
fId
address
url
fnames {
id
fname
tokenURI
createdAtBlock
createdAtTimestamp
}
createdAtBlock
createdAtTimestamp
}
}```