Questions tagged [graphql]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
17 views

What is the best way to query stake pools by ticker?

As a developer, I'd like to have a service that retrieves the information of a stake pool based on its ticker (or all the stake pools with that ticker, I know there can be duplicates). I'm thinking ...
user avatar
0 votes
1 answer
32 views

GraphQL syncing takes too much time

Hello everyone I did follow this guide to run GraphQL with docker-compose: https://github.com/input-output-hk/cardano-graphql However, inputoutput/cardano-db-sync:12.0.0 is syncing super slow ...
user avatar
2 votes
1 answer
15 views

Cardano GraphQL change default ip

I did run the cardano-graphql in a server and now it's sync but I'd like to send requests from local to server ip. I did open the port on AWS but couldn't figure it out where and how to change the ...
user avatar
0 votes
0 answers
10 views

How to convert UTxOs from Graphql to Cardano Serialization lib format?

I want to use this function as coin selection for my transactions: txBuilder.add_inputs_from(unspentOutputs, 3); The problem I have is I'm using cardano-graphql to retrieve UTxOs: { "data"...
user avatar
0 votes
1 answer
29 views

AMD64 Error Warning When Setting Up Grapgql Docker in Mac M1

I am following the following guide to set up graphql on my M1 Mac. https://github.com/input-output-hk/cardano-graphql#overview. All the containers are up and running but i can't visit local host to ...
user avatar
0 votes
0 answers
8 views

"cardanosolutions/cardano-node-ogmios:v5.1.0-mainnet internal load metadata" error when setting up graphql

I am following the option "A" setup guide https://github.com/input-output-hk/cardano-graphql to setup graphql.When i run the following command docker-compose up -d --build I get these ...
user avatar
0 votes
1 answer
21 views

What's the correct way of submitting a transaction using cardano-graphql?

I'm getting this error when trying to submit a transaction using graphql: { "errors": [ { "message": "Deserialization failed in Transaction.metadata because: ...
user avatar
2 votes
1 answer
62 views

How to query cardano graphql api to get all assets metadata from a specific policy id

currently I'm using blockfrost to request NFT metadata information one by one from a specific policy_id. A policy ID can have up to 10k assets minted so it takes quite a while to fully sync to my ...
user avatar
0 votes
1 answer
215 views

Cardano-graphql / Hasura - not found in type: 'query_root'

I found this github issue: https://github.com/input-output-hk/cardano-graphql/issues/507 discussing how to get assets of an address at a certain block using cardano-graphql / Hasura. When I run the &...
user avatar
0 votes
1 answer
31 views

How to get protocol parameters **only for latest epoch** with GraphQL?

How can I get protocol parameters only for the latest epoch using GraphQL? I can get protocol parameters with cardano-cli: cardano-cli query protocol-parameters \ --testnet-magic 1097911063 \ --...
user avatar
5 votes
1 answer
256 views

Blockfrost, GrapgQL or any API for cardano help, working with javascript

I am building an MERN stack app cardano dex tool, I want to use Blockfrost. I have installed the SDK in Node.js backend, but there are only very few examples on how to get any kind of data from it. ...
user avatar
3 votes
1 answer
541 views

How to query cardano-graphql API to get the details of a transaction with the transaction id?

I am looking for a GraphQL query that will return transaction details as seen on the Cardano Blockchain Explorer when searched with txId. For example, https://explorer.cardano.org/en/transaction?id=...
user avatar
  • 754
8 votes
1 answer
137 views

Between the cardano-graphql and cardano-rosetta APIs, which one is recommended for apps and dapps integration?

From what I understand, cardano-graphql as well as cardano-rosetta APIs enable interaction with the Cardano blockchain. Which of these is recommended for developing apps/dapps that interact with ...
user avatar
  • 754