DagPbBlock: {
    cid: CID;
    bytes: ByteView<PBNode>;
    value: PBNode;
    asBlock: Block<PBNode>;
    links: (() => Iterable<[string, CID]>);
    tree: (() => Iterable<string>);
    get: ((path?: string) => {
        value: CID;
        remaining: string;
    } | {
        value: Record<string, any>;
        remaining?: undefined;
    });
}

Type declaration

  • cid: CID
  • bytes: ByteView<PBNode>
  • value: PBNode
  • asBlock: Block<PBNode>
  • links: (() => Iterable<[string, CID]>)
      • (): Iterable<[string, CID]>
      • Returns Iterable<[string, CID]>

  • tree: (() => Iterable<string>)
      • (): Iterable<string>
      • Returns Iterable<string>

  • get: ((path?: string) => {
        value: CID;
        remaining: string;
    } | {
        value: Record<string, any>;
        remaining?: undefined;
    })
      • (path?: string): {
            value: CID;
            remaining: string;
        } | {
            value: Record<string, any>;
            remaining?: undefined;
        }
      • Parameters

        • Optional path: string

        Returns {
            value: CID;
            remaining: string;
        } | {
            value: Record<string, any>;
            remaining?: undefined;
        }

Generated using TypeDoc