Function createIndexer

  • This function is used to create an indexer, and fetch data like characters, links from the indexer.

    Parameters

    • Optional endpointOrOptions: IndexerOptions

    Returns Indexer

    Example

    import { createIndexer } from 'crossbell'

    const indexer = createIndexer()
    const res = await indexer.character.getMany('0x...')
    console.log(res.list)

    See

    https://indexer.crossbell.io/docs The underlying APIs.

Generated using TypeDoc