Home > @helia/interface > Helia
The API presented by a Helia node.
Signature:
export interface Helia<T = Libp2p>
Property | Modifiers | Type | Description |
---|---|---|---|
blockstore | Blocks | Where the blocks are stored | |
datastore | Datastore | A key/value store | |
gc | (options?: GCOptions) => Promise<void> | Remove any unpinned blocks from the blockstore | |
libp2p | T | The underlying libp2p node | |
pins | Pins | Pinning operations for blocks in the blockstore | |
start | () => Promise<void> | Starts the Helia node | |
stop | () => Promise<void> | Stops the Helia node |