Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/molekilla/connex-graphql

A GraphQL implementation based on Ethereum and uses Connex
https://github.com/molekilla/connex-graphql

Last synced: 3 days ago
JSON representation

A GraphQL implementation based on Ethereum and uses Connex

Awesome Lists containing this project

README

        

# connex-graphql
thor connex graphql

### Install
`npm i`

### Run
`npm start`
Open graphiql in `http://localhost:3000`

### Environment variables

`THOR_URL: Thor node`

### Sample
```graphql
{
contractFilter(
abiSignatures: [
"event LogSomething(bytes32 indexed id,address indexed user)",
"event LogOther(bytes32 indexed id,address indexed user, address indexed payer)"
]
address: "0xe24dBBEd860aD4b71cf69ED9c0AcEeeDcA99f935",
filter: {
indexed: [{
user: "0xf02e4e64f9f7fe6e461f136d248baab3c1f2a11d"
}],
order: "desc",
limit: 200,
range: {
from: "06/01/2019"
to: "07/30/2019"
},
}) {
meta{
txID
}
txDate
logName
timestamp
address
decoded
}
}
```