Skip to content

lukehedger/eth-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}'

Releases

No releases published

Packages

No packages published