import { BlockHash } from "./primitives"; import { BlockTxPair } from "./transactions/Transactions"; export declare type Pagination = { /** * Omitting "startRange" means you query starting from the genesis block * Note: the reason you have to specify both a tx hash AND a block hash in the "startRange" for pagination * is because this is the only way to make sure your pagination doesn't get affected by rollbacks * ex: a rollback could cause a tx to be removed from one block and appear in a totally different block * Specifying the block hash as well allows making sure you're paginating on the right tx in the right block */ rangeStart?: BlockTxPair; /** block hash - inclusive */ rangeEnd?: BlockHash; };