Questions tagged [cardano-graphql]
The cardano-graphql tag has no usage guidance.
22
questions
1
vote
0
answers
6
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(...
0
votes
0
answers
17
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 {
...
0
votes
2
answers
71
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
0
votes
1
answer
40
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 ...
0
votes
1
answer
51
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","...
1
vote
1
answer
39
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",&...
0
votes
1
answer
51
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 \
...
0
votes
0
answers
47
views
GraphQL How do I find out NFT marketplace listing price or sold price from a transaction?
For the sold price, I can prob find out the price from the utxo but how about listing and listing price changes for jpg.store listing?
For example this ChilledKong listing, the seller updated the ...
1
vote
1
answer
65
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-...
2
votes
1
answer
128
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....
4
votes
1
answer
56
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 ...
1
vote
1
answer
115
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
...
2
votes
1
answer
18
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 ...
2
votes
1
answer
117
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 ...
0
votes
1
answer
71
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: ...
1
vote
1
answer
66
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 ...
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 &...
0
votes
0
answers
30
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 ...
5
votes
1
answer
584
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!
0
votes
2
answers
86
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 ...
3
votes
1
answer
41
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 ...
4
votes
1
answer
104
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...&...