Possession API is used for querying Token ownership and NFT ownership and ENS ownership, Developers can learn the asset information owned by users through the query address.
Token
It supports querying how many and which Tokens an address owns, and on the contrary, can also query an Token that has been held by which addresses.
Query the token owned by the address
{ addrs(where:{address:"0xae89ad222e67205e8d947f131fdc9fa139828745"}){ address holdTokens{ name symbol}}}
You can query the number and specific information of the ENS owned by an address. On the contrary, you can also query the address where an ENS is held.
{
addrs(where:{address:"0x88520C10ad3d35aD2D3220CdE446CcB33f09331B"}){
holdPolygonNfts{
name
symbol
nftCount
contract
}
holdPolygonTokens{
name
symbol
tokenCount
contract
}
}
}
{
polygon_nfts{
contract
name
symbol
addrsHold{
address
}
}
}
{
polygon_tokens{
contract
name
symbol
addrsHold{
address
}
}
}