Comment on page
Query All Arweave Transactions
Query GraphQL for all Arweave Transactions data iteratively
You can query for all transactions on GraphQL endpoint using the method thats described here.
The function that we will be using is
queryAllTransactionsGQL
. For implementation details, see below.import { queryAllTransactionsGQL } from 'arweavekit/graphql';
const response = await queryAllTransactionsGQL(queryString, options);
You must supply
queryAllTransactionsGQL
with two inputs.QueryString:
string
- A valid GraphQL query string with thefirst
filter.Options:
object
- An options object.gateway:
string
- Gateway url likearweave.net
filters:
object
- Filters object likefirst: 100
.
The expected response will be a list of
GraphQLEdge
Last modified 4mo ago