irys.search(queryName)
Sets the query type / location.
Parameters
queryName
: The query type / location.
Accepted Values
irys:transactions
: Searches transactions uploaded to Arweave via any of Irys' nodesarweave:transactions
: Searches all transactions posted to Arweavearweave:blocks
: Searches all of Arweave for a specific block
const results = await myQuery
.search("irys:transactions")
.tags([{ name: "Content-Type", values: ["image/png", "image/jpg"] }]);