junobuild_shared::ledger::icp

Function find_blocks_transfer

Source
pub async fn find_blocks_transfer(
    block_index: BlockIndex,
    length: u64,
    account_identifiers: Vec<AccountIdentifier>,
) -> Blocks
Expand description

Finds blocks containing transfers for specified account identifiers.

§Arguments

  • block_index - The starting block index for the query.
  • length - The number of blocks to query.
  • account_identifiers - A list of account identifiers to match transactions.

§Returns

A collection of blocks matching the criteria.