Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pinax-network/subgraph-farmers-world

Subgraph - Farmers World
https://github.com/pinax-network/subgraph-farmers-world

subgraph

Last synced: about 2 months ago
JSON representation

Subgraph - Farmers World

Awesome Lists containing this project

README

        

# Subgraph: `Farmers World`

> Transactions, Decoded Actions & Database Operations
>
> [`sf.antelope.type.v1.Block`](https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1)

- [x] **Blocks**
- [x] **Transactions**
- [x] **Actions**
- [x] **Authorization**
- [x] **Receiver**
- [x] **DatabaseOperations**

## Smart Contracts

- `farmersworld`
- `farmerstoken`

## Subgraph

- **API Key**: https://thegraph.com/studio/apikeys/
- **Base URL**: https://gateway.thegraph.com/api
- **Subgraph ID**:
- `3eMDCbB9JBiherY33aC6e5gGUbuMYLA8xKFwEC27mSkz`
- `17768678606329269960802053840745243856261143871618426305868635028232249275547`
- **Query URL format**: `{base_url}`/api/`{api-key}`/subgraphs/id/`{subgraph_id}`

## GraphQL

```graphql
{
actions(
orderBy: block__number
orderDirection: desc
) {
block{
number
time
}
transaction {
id
}
account
name
jsonData
dbOps {
code
tableName
primaryKey
newDataJson
}
}
}
```