Hi all, I’ve been looking at the graphql connections here Cardano GraphQL Voyager and have been trying to query the metadata of NFTs. It seems I’m able to correctly get all the assets (asset aggregation is 10000 as expected), but each asset seems to have/can have multiple tokenMints which can map to transactions thats metadata contains multiple mints. Is there a nicer way to get the metadata for each asset?
Most recent query attempt:
query {
assets(
where: {
policyId: {
_eq: "${policyId}"
}
}
) {
tokenMints(
limit: 1
order_by: {transaction: {block: {forgedAt: asc}}}
) {
transaction {
metadata {
value
}
}
}
}
}