Skip to content

PullOptions

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

Options for pulling pieces from a source provider

optional extraData?: `0x${string}`

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

Pre-built signed extraData (avoids double wallet prompts)


from: PullSource

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

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


optional onProgress?: (pieceCid, status) => void

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

Pull progress callback

ParameterType
pieceCidPieceLink
statusPullStatus

void


pieces: PieceLink[]

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

Pieces to pull


optional signal?: AbortSignal

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

Optional AbortSignal