Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PutOptions

Hierarchy

Index

Properties

hashAlg?: string

Multihash hashing algorithm to use (defaults to 'sha2-256')

inputCodec?: string

The codec that the input object is encoded with if a pre-encoded object is supplied.

onlyHash?: boolean

If true no blocks will be written to the underlying blockstore

pin?: boolean

Pin this block when adding. (Defaults to false)

preload?: boolean
signal?: AbortSignal

Can be provided to a function that starts a long running task, which will be aborted when signal is triggered.

storeCodec?: string

The codec that the stored object will be encoded with (defaults to 'dag-cbor')

timeout?: number

Can be provided to a function that starts a long running task, which will be aborted after provided timeout (in ms).

version?: CIDVersion

The version to use to create the CID (default to 1)

Generated using TypeDoc