user6827: 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.

user5298: 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.

6827: <p>I found this github issue: <a href="https://github.com/input-output-hk/cardano-graphql/issues/507" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-graphql/issues/507</a> discussing how to get assets of an address at a certain block using cardano-graphql / Hasura.</p>
<p>When I run the &quot;SDL Version&quot; of the query, as mentioned in the github issue, on the referenced page (<a href="https://graphql-api.mainnet.dandelion.link/" rel="nofollow noreferrer">https://graphql-api.mainnet.dandelion.link/</a>), it works just fine.</p>
<p>When I try the same query on my cardano-graphql stack in Hasura, I get this error message:</p>
<blockquote>
<p>field &quot;paymentAddresses&quot; not found in type: 'query_root'</p>
</blockquote>
<p>I searched for similar errors, and it seems to have to do with permissions, but I can't figure out which permissions are missing.</p>
 5298: <p>Are you using the <strong>hasura console</strong> or the <strong>apollo graphql console</strong>?</p>
<p>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 <a href="https://github.com/input-output-hk/cardano-graphql/blob/master/packages/api-cardano-db-hasura/src/executableSchema.ts" rel="nofollow noreferrer">here</a> that payment addresses calls the <code>getPaymentAddressSummary</code> function on the <a href="https://github.com/input-output-hk/cardano-graphql/blob/master/packages/api-cardano-db-hasura/src/HasuraClient.ts" rel="nofollow noreferrer">hasura client</a>.</p>
