CountsJSON
Ask AI
CountsJSON aggregates the real-name trait counts of a set of tokens, given each token's artwork index and edition (from SlotArtwork), as the members of a JSON object: "Tier":{tier:n}, then each creator trait type {value:n} in store order, "Edition":{"e/E":n} (artworks with E > 1) and "Storage":{"On-chain"|"IPFS":n}; types and values with no count are left out. Names are the JSON escaped once at write time, values in dictionary order (review UP-M1: no per-read escaping, integer counters only).
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia3/assets/v1.CountsJSON(,,)"
Result