API docs
maxHeight()

maxHeight(height)

Queries Arweave based on block height, returning all blocks at the specified height and earlier. Commonly used with minHeight().

Parameters

  • height: Block height
const results = await myQuery
	.search("arweave:blocks")
	.minHeight(1188272)
	.maxHeight(1188279);