RAILGUN Reloaded
    Preparing search index...

    Class SubsquidProvider<T>

    Subsquid Provider for fetching data from Subsquid indexers This is a placeholder for future implementation

    Type Parameters

    Implements

    Index
    • Get the current head of subsquid, this is not necessarily the block upto which iterator can provide data because this value changes every time new blocks are indexed in the subsquid

      Returns Promise<bigint>

      • Latest height of the subsquid
    • Create an async iterator with given config

      Parameters

      • _options: SyncOptions

        Sync options (unused in placeholder implementation)

      Returns AsyncGenerator<T>

      AsyncGenerator that returns RailgunTransactionData

      EVMBlock - Block data with grouped/sorted transactions and logs

    isLiveProvider: boolean = false

    Flag to indicate if the data-source can provide live data or not

    network:
        | "arbitrum"
        | "bsc"
        | "ethereum"
        | "ethereumSepolia"
        | "polygon"
        | undefined

    Canonical Subsquid network, or undefined for a custom endpoint.