Step 1: Go to -https://thegraph.com/explorer/subgraph?id=JBnWrv9pvBvSi2pUZzba3VweGBTde6s44QvsDABP47Gt&v=2&view=Playground
Step 2: See the left hand side has a bit of example query code. Grab a query from below and paste it in - then hit Run Button (You can also run the Example Query to get a feel for it)
Step 3: The Output should be shown
If you would like a funded API key for a BOT or use outside of the playground contact:
Mack#9736 on Discord
Find out more about this here
{
cardBalances(where: {user: "REPLACE WITH LOWERCASE ADDRESS YOU WOULD LIKE TO QUERY"}) {
type {
name
address
}
unwrapped
wrappedOfficial
wrappedUnofficial
user {
id
}
}
}
{
cardTypes(first: 31) {
id
name
supply
symbol
address
balances {
id
wrappedOfficial
wrappedUnofficial
unwrapped
}
}
}
{
cardTypes(where: {id: "0xe0b5e6f32d657e0e18d4b3e801ebc76a5959e123"}) {
id
name
supply
symbol
balances {
id
wrappedOfficial
wrappedUnofficial
unwrapped
}
}
}
query {
cardBalances(first: 1000, where : {type : "0x2fce2713a561bb019bc5a110be0a19d10581ee9e"}) {
id
unwrapped
wrappedOfficial
wrappedUnofficial
}
}
query {
cardBalances(skip: 1000, first: 1000, where : {type : "0x2fce2713a561bb019bc5a110be0a19d10581ee9e"}) {
id
unwrapped
wrappedOfficial
wrappedUnofficial
}
}