Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: graphql-request
node v6.17.1
version:
1.0.0
endpoint
share
tweet
const { request } = require('graphql-request') const query = `query { # ENS can also be passed as the address here to fetch idenity. identity(address: "0x8ddD03b89116ba89E28Ef703fe037fF77451e38E") { address followingCount followerCount followers { list { address } } followings { list{ address } } } }` request('https://api.cybertino.io/connect/', query).then(data => console.log(data))
Created from: https://npm.runkit.com/graphql-request
Loading…
no comments
sign in
to comment