This example shows how to create a GraphQL API for an ERC721 token using Ponder. It uses the Smol Brains NFT contract on Arbitrum (Link).
{
account(id: "0x2B8E4729672613D69e5006a97dD56A455389FB2b") {
id
tokens {
id
}
}
}
{
token(id: "7777") {
owner {
id
}
transferEvents {
from
to
timestamp
}
}
}