Function presetQueryBlocksAndTransactions

  • Returns a query for all Blocks and Transactions within the block range (from_block, to_block] If to_block is None then query runs to the head of the chain.

    Parameters

    • fromBlock: number
    • Optional toBlock: number

    Returns Query