Skip to content

PullOptions

Defined in: packages/synapse-sdk/src/types.ts:471

Options for pulling pieces from a source provider

optional extraData: `0x${string}`

Defined in: packages/synapse-sdk/src/types.ts:481

Pre-built signed extraData (avoids double wallet prompts)


from: PullSource

Defined in: packages/synapse-sdk/src/types.ts:475

Source provider to pull from (URL or context with getPieceUrl)


optional onProgress: (pieceCid, status) => void

Defined in: packages/synapse-sdk/src/types.ts:479

Pull progress callback

ParameterType
pieceCidPieceLink
statusPullStatus

void


pieces: PieceLink[]

Defined in: packages/synapse-sdk/src/types.ts:473

Pieces to pull


optional signal: AbortSignal

Defined in: packages/synapse-sdk/src/types.ts:477

Optional AbortSignal