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 "SDL Version" of the query, as mentioned in the github issue, on the referenced page (https://graphql-api.mainnet.dandelion.link/), it works just fine.

When I try the same query on my cardano-graphql stack in Hasura, I get this error message:

field "paymentAddresses" not found in type: 'query_root'

I searched for similar errors, and it seems to have to do with permissions, but I can't figure out which permissions are missing.

1 Answer 1


Are you using the hasura console or the apollo graphql console?

That query won't be available through the hasura console since paymentAddresses is not a postgres table that hasura directly binds to. The apollo graphql server actually queries hasura, transforms the data and then returns it. You can see here that payment addresses calls the getPaymentAddressSummary function on the hasura client.

  • I just now realized the difference between the two consoles. Thanks. All works when entering it in the correct console. Commented Apr 5, 2022 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.