Skip to content
🧠 Ethereum GraphQL API
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
server
.eslintignore
.eslintrc.json
.gitignore
LICENSE
README.md
package-lock.json
package.json

README.md

Just a proof-of-concept for now with a few methods implemented!

Setup

npm install

Run

npm start

Try

Test it out on http://localhost:4000/:

query {
  blockNumber
  accounts
  getBalance(params:["0x1f0dff2d80c4812adaf0c93349b28abaa9a84710"])
}

graphql-playground

Or with curl:

curl 'http://localhost:4000/' -H 'Content-Type: application/json' --data-binary '{"query":"query {\n  blockNumber\n  accounts\n  getBalance(params:[\"0x1f0dff2d80c4812adaf0c93349b28abaa9a84710\"])\n}","variables":{},"operationName":null}'
You can’t perform that action at this time.