Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransactionCollector

Hierarchy

Index

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

    • indexer: Indexer
    • 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
      • lock: undefined | Script | ScriptWrapper
      • order: undefined | "asc" | "desc"
      • skip: undefined | number
      • toBlock: undefined | string
      • type: undefined | Script | ScriptWrapper | "empty"
    • Optional __namedParameters: { includeStatus: undefined | false | true; skipMissing: undefined | false | true }
      • includeStatus: undefined | false | true
      • skipMissing: undefined | false | true

    Returns TransactionCollector

Properties

fromBlock

fromBlock: Hexadecimal | undefined

includeStatus

includeStatus: boolean

indexer

indexer: Indexer

lock

lock: ScriptWrapper | undefined

order

order: "asc" | "desc"

rpc

rpc: any

skip

skip: number | undefined

skipMissing

skipMissing: boolean

toBlock

toBlock: Hexadecimal | undefined

type

type: "empty" | ScriptWrapper | Script | undefined

Methods

collect

count

  • count(): Promise<number>
  • Returns Promise<number>

getTransactionHashes

  • getTransactionHashes(): Promise<HexString[]>
  • Returns Promise<HexString[]>

Generated using TypeDoc