SVG Subgraph

This subgraph provides the current and previous SVGs from the aavegotchis. The full documentation can be found here LINK

Attention: This subgraph is currently in beta status and the API may change over time.

The endpoint is: https://api.thegraph.com/subgraphs/name/froid1911/aavegotchi-svg The Playground can be found HERE

The SVG of an Aavegotchi can be queried as follows:

{
aavegotchi(id: 4430) {
id
svg
}
}

the return contains the ID of the aavegotchi and the svg...

{
"data": {
"aavegotchi": {
"id": "4430",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\"><style>.gotchi-primary{fill:#64438E;}.gotchi-secondary{fill:#EDD3FD;}.gotchi-cheek{fill:#F696C6;}.gotchi-eyeColor{fill:#5D24BF;}.gotchi-primary-mouth{fill:#64438E;}.gotchi-sleeves-up{display:none;}.gotchi-handsUp{display:none;}.gotchi-handsDownOpen{display:block;}.gotchi..."
}
}
}