Just a proof-of-concept for now with a few methods implemented!
npm install
npm start
Test it out on http://localhost:4000/
:
query {
blockNumber
accounts
getBalance(params:["0x1f0dff2d80c4812adaf0c93349b28abaa9a84710"])
}
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}'