Class TransactionCollector
Constructors
constructor
- new TransactionCollector(indexer: Indexer, __namedParameters?: { argsLen: undefined | number | "any"; fromBlock: undefined | string; lock: undefined | Script | ScriptWrapper; order: undefined | "asc" | "desc"; skip: undefined | number; toBlock: undefined | string; type: undefined | Script | ScriptWrapper | "empty" }, __namedParameters?: { includeStatus: undefined | false | true; skipMissing: undefined | false | true }): TransactionCollector
-
Parameters
-
-
Optional __namedParameters: { argsLen: undefined | number | "any"; fromBlock: undefined | string; lock: undefined | Script | ScriptWrapper; order: undefined | "asc" | "desc"; skip: undefined | number; toBlock: undefined | string; type: undefined | Script | ScriptWrapper | "empty" }
-
argsLen: undefined | number | "any"
-
fromBlock: undefined | string
-
-
order: undefined | "asc" | "desc"
-
skip: undefined | number
-
toBlock: undefined | string
-
-
Optional __namedParameters: { includeStatus: undefined | false | true; skipMissing: undefined | false | true }
-
includeStatus: undefined | false | true
-
skipMissing: undefined | false | true
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[]>