Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CKBIndexerTransactionCollector

Hierarchy

Index

Constructors

constructor

Properties

CKBRpcUrl

CKBRpcUrl: string

filterOptions

fromBlock

fromBlock: Hexadecimal | undefined

includeStatus

includeStatus: boolean

indexer

indexer: CkbIndexer

lock

lock: ScriptWrapper | undefined

Optional options

order

order: "asc" | "desc"

queries

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>

fetchIndexerTransaction

getResolvedCell

getResolvedTransactionRequestPayload

getTransactionHashes

  • getTransactionHashes(): Promise<string[]>

getTransactions

  • Parameters

    • Optional lastCursor: undefined | string

    Returns Promise<GetTransactionDetailResult>

Static asBaseTransactionCollector

  • asBaseTransactionCollector(CKBRpcUrl: string): typeof BaseTransactionCollector
  • deprecated

    Parameters

    • CKBRpcUrl: string

    Returns typeof BaseTransactionCollector

Generated using TypeDoc