Skip to content

PullOptions

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

Options for pulling pieces from a source provider

optional extraData: `0x${string}`

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

Pre-built signed extraData (avoids double wallet prompts)


from: PullSource

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

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


optional onProgress: (pieceCid, status) => void

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

Pull progress callback

ParameterType
pieceCidPieceLink
statusPullStatus

void


pieces: PieceLink[]

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

Pieces to pull


optional signal: AbortSignal

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

Optional AbortSignal