GraphiQL is a fantastic tool to help you get information quickly with various and gives you the ability to explore a schema using GraphQL in an efficient way.
GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data that provides a powerful and flexible approach to developing web APIs.
There are 2 main query types in the GraphQL schema for the Palm network:
Gets an address by
transactions( after: String before: String count: Int first: Int last: Int): TransactionConnection
Gets addresses by address hash type
same as above ^
Gets a block by number.
Gets token transfers by token contract address hash.
after: String before: String count: Int first: Int last: Int tokenContractAddressHash: AddressHash!
You can use the transaction query to get a transaction's info using a transaction hash.
You can use the block query to get a block's info using the block number.
Subscriptions are useful for notified your client in realtime when the back-end data changes. Unlike queries, subscriptions are long lasting operations that can change their result over time because they maintain an active connection with your GraphQL server.