<p>Cardano GraphQL API documentation: <a href="https://input-output-hk.github.io/cardano-graphql/" rel="nofollow noreferrer">https://input-output-hk.github.io/cardano-graphql/</a></p>
<p>Example requests: <a href="https://github.com/input-output-hk/cardano-graphql/tree/master/packages/api-cardano-db-hasura/src/example_queries" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-graphql/tree/master/packages/api-cardano-db-hasura/src/example_queries</a></p>
<p>To find all <code>Transaction</code> objects related to an <code>Asset</code>, you can use the <code>transactions</code> query and filter for a specific <code>Token</code> in the <code>TransactionOutput</code> using the <code>where</code> clause.</p>
<p>There is an example in the project wiki that does the same but filters for <code>Block</code> number:
<a href="https://github.com/input-output-hk/cardano-graphql/wiki/Interacting-With-The-API" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-graphql/wiki/Interacting-With-The-API</a></p>

CC BY-SA 4.0
2023-01-20T06:54:36.557Z
2023-01-20T06:54:36.557Z
eddex
<p>You can also play with GraphQL on ADANATOR, it has this graphical query builder which is pretty useful:</p>
<p><a href="https://adanator.com/graphiql" rel="nofollow noreferrer">https://adanator.com/graphiql</a></p>

CC BY-SA 4.0
2023-03-27T14:31:53.027Z
2023-03-27T14:31:53.027Z
Michiel Bellen
<p>query assets transaction with cardano-graphql, e.g blockforst api <a href="https://cardano-mainnet.blockfrost.io/api/v0/assets/%7Basset%7D/transactions" rel="nofollow noreferrer">https://cardano-mainnet.blockfrost.io/api/v0/assets/{asset}/transactions</a></p>

CC BY-SA 4.0
2023-01-12T06:58:09.080Z
describe with more details your question
Nic_T2H
<cardano-graphql>
How to query assets transactions with cardano-graphql?
# How to query assets transactions with cardano-graphql?

(Asked by: username_0 on 2023-01-12)

query assets transaction with cardano-graphql, e.g blockforst api [https://cardano-mainnet.blockfrost.io/api/v0/assets/{asset}/transactions](https://cardano-mainnet.blockfrost.io/api/v0/assets/%7Basset%7D/transactions)

**Tags:** cardano-graphql
> **Comments:**
> **username_1**: describe with more details your question  

---

## 2 answers

### Answer by username_2 on 2023-01-20. Score: 1

Cardano GraphQL API documentation: <https://input-output-hk.github.io/cardano-graphql/>

Example requests: <https://github.com/input-output-hk/cardano-graphql/tree/master/packages/api-cardano-db-hasura/src/example_queries>

To find all `Transaction` objects related to an `Asset`, you can use the `transactions` query and filter for a specific `Token` in the `TransactionOutput` using the `where` clause.

There is an example in the project wiki that does the same but filters for `Block` number:
<https://github.com/input-output-hk/cardano-graphql/wiki/Interacting-With-The-API>


---

### Answer by username_3 on 2023-03-27. Score: 0

You can also play with GraphQL on ADANATOR, it has this graphical query builder which is pretty useful:

<https://adanator.com/graphiql>


---

