ArweaveKit v1.3.0
Release summary
This release adds support to query GraphQL endpoint with the help of newly introduced methods queryGQL, queryTransactionsGQL, queryAllTransactionsGQL.
queryGQLwill take in a valid Arweave GraphQL query with supported filters and return a raw GQL response.queryTransactionsGQLwill take in a valid Arweave GraphQL query in a suggested format so that consumer can utilize cursor based pagination support provided by this method.queryAllTransactionsGQLwill take in a valid Areave GraphQL query in a suggested format and iteratively fetches all transactions then return it to the consumer.
These methods pre-validates user's supplied query by parsing it into AST and further using validate method from graphql package. With this validation, we can make sure to catch silly mistakes or invalid query that is not as per schema.