Class TransactionCollector
Constructors
constructor
- new TransactionCollector(indexer: Indexer, __namedParameters?: { argsLen: number | "any"; fromBlock: undefined | string; lock: undefined | Script | ScriptWrapper; order: "asc" | "desc"; skip: undefined | number; toBlock: undefined | string; type: undefined | "empty" | Script | ScriptWrapper }, __namedParameters?: { includeStatus: boolean; skipMissing: boolean }): TransactionCollector
-
Parameters
-
-
Default value __namedParameters: { argsLen: number | "any"; fromBlock: undefined | string; lock: undefined | Script | ScriptWrapper; order: "asc" | "desc"; skip: undefined | number; toBlock: undefined | string; type: undefined | "empty" | Script | ScriptWrapper } = {}
-
argsLen: number | "any"
-
fromBlock: undefined | string
-
-
order: "asc" | "desc"
-
skip: undefined | number
-
toBlock: undefined | string
-
-
Default value __namedParameters: { includeStatus: boolean; skipMissing: boolean } = {}
-
includeStatus: boolean
-
skipMissing: boolean
Properties
fromBlock
includeStatus
includeStatus: boolean
indexer
lock
order
order: "asc" | "desc"
rpc
rpc: any
skip
skip: number | undefined
skipMissing
skipMissing: boolean
toBlock
type
Methods
collect
-
count
-
Returns Promise<number>
getTransactionHashes
-
Returns Promise<HexString[]>