Understanding a GraphQL schema is very confusing at first. There is no scroll bar so you don’t know how long the document is, the structure is hard to visual, and there is a lot of superfluous information for beginners.

The trick

The trick is to copy all the data into something like https://jsonformatter.org/ and then minimise each section.

What is interesting is that within the Query type, there is blockTs and blockT and it is obvious here that blockT requires an argument of id which is of type String and is mandatory, indicated with the exclamation mark.

Leave a Reply

Your email address will not be published. Required fields are marked *