The API defined by a Helia node

Example

import type { Helia } from '@helia/interface'

export function doSomething(helia: Helia) {
// use helia node functions here
}

References

Re-exports AddOptions
Re-exports AddPinEvents
Re-exports BlockAnnounceOptions
Re-exports BlockBroker
Re-exports BlockRetrievalOptions
Re-exports Blocks
Re-exports CreateSessionOptions
Re-exports DEFAULT_SESSION_MAX_PROVIDERS
Re-exports DEFAULT_SESSION_MIN_PROVIDERS
Re-exports DeleteBlockProgressEvents
Re-exports DeleteManyBlocksProgressEvents
Re-exports GetAllBlocksProgressEvents
Re-exports GetBlockProgressEvents
Re-exports GetManyBlocksProgressEvents
Re-exports GetOfflineOptions
Re-exports HasBlockProgressEvents
Re-exports IsPinnedOptions
Re-exports LsOptions
Re-exports Pair
Re-exports Pin
Re-exports PinType
Re-exports Pins
Re-exports PutBlockProgressEvents
Re-exports PutManyBlocksProgressEvents
Re-exports RmOptions
Re-exports SessionBlockstore