An interface for representing a materializable IPLD DAG View. It is a useful abstraction that can be used to defer actual IPLD encoding.

Note that represented DAG could be partial implying that some of the blocks may not be included. This by design allowing a user to include whatever blocks they want to include.

Type Parameters

Hierarchy

Methods

  • Encodes all the blocks and creates a new IPLDView instance over them. Can be passed a multihasher to specify a preferred hashing algorithm. Note that there is no guarantee that preferred hasher will be used, it is only a hint of preference and not a requirement.

    Parameters

    Returns Await<View>

Generated using TypeDoc