CkbIndexer.collector will not get cell with blockHash by default, please use OtherQueryOptions.withBlockHash and OtherQueryOptions.CKBRpcUrl to get blockHash if you need.

Hierarchy

  • Indexer

Implements

Constructors

  • Parameters

    • ckbRpcUrl: string

    Returns Indexer

  • Parameters

    • ckbIndexerUrl: string
    • ckbRpcUrl: string

    Returns Indexer

Properties

checkArgs: any
checkFilterOptions: any
ckbIndexerUri: string
ckbIndexerUrl: string
ckbRpcUrl?: string
emitMedianTimeEvents: any
emitters: IndexerEmitter[]
filterEvents: any
getCkbRpc: any
getIndexerRpc: any
isSubscribeRunning: boolean
loop: any
medianTimeEmitters: EventEmitter[]
poll: any
publishAppendBlockEvents: any
scheduleLoop: any
uri: string
version: string

Methods

  • Parameters

    • timeout: number

    Returns Promise<void>

  • collector cells without blockHash by default.if you need blockHash, please add OtherQueryOptions.withBlockHash and OtherQueryOptions.ckbRpcUrl. don't use OtherQueryOption if you don't need blockHash,cause it will slowly your collect.

    Parameters

    • queries: CKBIndexerQueryOptions
    • Optional otherQueryOptions: OtherQueryOptions

    Returns indexer.CellCollector

  • Parameters

    • searchKey: SearchKey
    • Optional terminator: Terminator
    • Optional searchKeyFilter: SearchKeyFilter

    Returns Promise<GetCellsResults>

  • Type Parameters

    • Group extends boolean = false

    Parameters

    • searchKey: GetTransactionsSearchKey<Group>
    • Optional searchKeyFilter: SearchKeyFilter

    Returns Promise<IndexerTransactionList<Group>>

  • Returns boolean

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • queries: CKBIndexerQueryOptions

    Returns EventEmitter

  • Returns EventEmitter

  • Returns Promise<Tip>

  • Parameters

    • Optional blockDifference: number

    Returns Promise<void>

Generated using TypeDoc