Skip to content

[feature request] Support filtering transactions by block hash #4985

@0x009922

Description

@0x009922

Use case

In Explorer we sometimes need to fetch transactions relevant to a specific block.

Problem

It is currently impossible to do - FindTransactions doesn't support filters yet.

(It is possible to fetch all transactions and filter them on client side, but it doesn't scale).

Possible solution

  • Extend FindTransactions query with a filter by block hash
  • Introduce a dedicated query, e.g. FindTransactionsByBlockHash

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or requestapi-changesChanges in the API for client librariesqueries

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions