DEVELOPER DOCS
API docs
search()

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' nodes
  • arweave:transactions: Searches all transactions posted to Arweave
  • arweave: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"] }]);