Skip to content

PullOptions

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

Options for pulling pieces from a source provider

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

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

Pre-built signed extraData (avoids double wallet prompts)


from: PullSource

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

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


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

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

Pull progress callback

ParameterType
pieceCidPieceLink
statusPullStatus

void


pieces: PieceLink[]

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

Pieces to pull


optional signal?: AbortSignal

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

Optional AbortSignal