Questions tagged [cardano-graphql]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Dandelion graphQl endpoints not working?

I'am was trying to use these endpoints to use playground of cardano graphQL ( https://graphql-api.mainnet.dandelion.link/ ) and (https://graphql-api.testnet.dandelion.link/) but none is working, they ...
Yogesh's user avatar
  • 51
1 vote
0 answers
7 views

Can I communicate with my local test net via REST/WebAPI

I am using this https://github.com/woofpool/cardano-private-testnet-setup to run my local testnet. I was using this const CardanocliJs = require('cardanocli-js'); const cardano = new CardanocliJs(...
SomethingCool's user avatar
0 votes
0 answers
19 views

Cardano graph QL utxo_aggregate sum error

I am trying to get count of NFTs locked on some address by policy ID using cardano graph ql. I have this query in cardano-graphql (https://github.com/input-output-hk/cardano-graphql): query { ...
asdfqwert's user avatar
0 votes
2 answers
116 views

How to query assets transactions with cardano-graphql?

query assets transaction with cardano-graphql, e.g blockforst api https://cardano-mainnet.blockfrost.io/api/v0/assets/{asset}/transactions
ZACK's user avatar
  • 1
0 votes
1 answer
48 views

Ogmios Node Stopped Working

I did follow cardano-graphql guide and I was running my node smoothly for 2 months today It gave me this error and couldn't understand what is wrong with it. I restarted the container but didn't solve ...
korimusk's user avatar
  • 153
0 votes
1 answer
59 views

Cardano GraphQL stuck Establish connection to cardano-node

I'm trying to run graphql following these instructions. I do already have dbsync & cnode running for the preprod network, but I get this error: {"name":"cardano-graphql","...
Metaverse TechArt's user avatar
1 vote
1 answer
44 views

Cardano-graphql doesn't return sync percentage

when I first started It was returning the sync percentage, and the logs of cardano-graphql was like this: {"name":"cardano-graphql","hostname":"2f8ed0c5755a",&...
korimusk's user avatar
  • 153
0 votes
1 answer
55 views

apply failed: [postgres-error] query execution failed ($.args[0].args)\\r\\nFile: '1589369664961_init/up.sql'

This is how I started docker run, but cardano-graphql_cardano-graphql_1 keeps restarting due to this error related with 1589369664961_init/up.sql. DOCKER_BUILDKIT=1 \ COMPOSE_DOCKER_CLI_BUILD=1 \ ...
korimusk's user avatar
  • 153
1 vote
1 answer
78 views

Connecting Node and DB-Sync

I'm running Cardano Node and Cardano GraphQL on the same network/computer. This is how I started the node: cardano-node run \ --topology /home/ubuntu/cardano/cardano-src/cardano-node/mainnet-...
korimusk's user avatar
  • 153
2 votes
1 answer
147 views

Syncing from genesis instead of snapshot

I start the docker as followed in the guide: export NETWORK=mainnet &&\ docker pull inputoutput/cardano-graphql:6.2.0-${NETWORK} &&\ docker pull inputoutput/cardano-graphql-hasura:6.2....
korimusk's user avatar
  • 153
4 votes
1 answer
68 views

What is the purpose of use using Cardano-graphql & hasura in the same stack?

I'm in the process of writing some software that will connect to the Cardano networking such as signing transactions & querying historical chain data. During my search for a solution I came across ...
CoderMan's user avatar
  • 102
1 vote
1 answer
41 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 ...
Falcon Stakepool's user avatar
1 vote
1 answer
137 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 ...
korimusk's user avatar
  • 153
2 votes
1 answer
19 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 ...
korimusk's user avatar
  • 153
0 votes
1 answer
42 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"...
Falcon Stakepool's user avatar
0 votes
1 answer
62 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 ...
szhang9921's user avatar
2 votes
1 answer
134 views

What's the correct way of deserializing a UTxO?

I'm getting the following error when trying to deserialize a UTxO obtained using cardano-graphql: Deserialization failed in TransactionUnspentOutput because: No variant matched This is the code that ...
Falcon Stakepool's user avatar
0 votes
1 answer
73 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: ...
Falcon Stakepool's user avatar
1 vote
1 answer
69 views

cardanocli-js and cardano-wallet-js vs cardano-wallet rest api and cardano-graphql how do they differ?

I've been going through the cardano docs at https://developers.cardano.org/docs/get-started/ and have come across discussions around the cardano-wallet rest api and cardano-graphql implementation. I ...
Greg's user avatar
  • 21
3 votes
1 answer
211 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 ...
user6664's user avatar
0 votes
1 answer
1k 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 &...
Johano Fierra's user avatar
0 votes
1 answer
118 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 \ --...
mahnunchik's user avatar
0 votes
0 answers
33 views

Can I manually install cardano-graphql using local data?

I'm running a relay node and have dbsync pushing data into postgresql. To build the graphql data, do I have to use the weekly restore snapshot as described in the github page for cardano-graphql or ...
66Tricks's user avatar
5 votes
1 answer
637 views

How do I read the datum of an output?

How do I get the datum of an output from cardano-graphql (or another service)? I have attached it using the --tx-out-datum-embed-file flag already when building the tx using cardano-cli. Thanks!
yoyobigmanyo's user avatar
0 votes
2 answers
92 views

Where to find proper info on the cardano graphql

I am new to Cardano and have setup the GraphQL node All is running, but my problem is I can not find proper info on how to actually get the data. What I would like to query is asset data and smart ...
Mayga Fatmawati's user avatar
3 votes
1 answer
43 views

Does cardano-graphql limit the amount of data processed per single query?

I'm working on an application which for some of its features has to calculate the total balance of a wallet for a given time range. Here's a query that I've written (I don't have access to the ...
Alex F's user avatar
  • 133
4 votes
1 answer
109 views

How much time does Cardano-graphql take to initialize?

I had configured db-sync and it is synchronizing. I had also started the Cardano-graphql. However, the message seems to be struck at "msg":"Initializing. This can take a few minutes...&...
raghu's user avatar
  • 1,834
5 votes
1 answer
348 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. ...
Skinsky Gnudy's user avatar
3 votes
1 answer
838 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=...
lambda's user avatar
  • 794
10 votes
1 answer
163 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 ...
lambda's user avatar
  • 794