@cere-ddc-sdk/ddc / Link
The Link
class represents a link in a DAG.
Example
const cid = '...';
const size = 10;
const name = 'example';
const link = new Link(cid, size, name);
console.log(link);
• cid: string
The content identifier of the link.
• name: string
= ''
The name of the link.
• size: number
The content size on which the link points to.