Function createBackendInputResolver

  • Creates an input resolver that fetch transaction inputs from the backend.

    This function tries to fetch the transaction from the backend using a ChainHistoryProvider. It also caches fetched transactions to optimize subsequent input resolutions.

    Returns

    An input resolver that can fetch unresolved inputs from the backend.

    Parameters

    • provider: ChainHistoryProvider

      The backend provider used to fetch transactions by their hashes if they are not found by the inputResolver.

    Returns InputResolver

Generated using TypeDoc