Skip to content

BasePullPiecesOptions

BasePullPiecesOptions = object

Defined in: packages/synapse-core/src/sp/pull-pieces.ts:234

Base options for pulling pieces.

optional extraData?: Hex

Defined in: packages/synapse-core/src/sp/pull-pieces.ts:246

Pre-built signed extraData. When provided, skips internal EIP-712 signing.


optional nonce?: bigint

Defined in: packages/synapse-core/src/sp/pull-pieces.ts:240

Optional nonce for the add pieces signature. Ignored when extraData is provided.


pieces: PullPieceInput[]

Defined in: packages/synapse-core/src/sp/pull-pieces.ts:238

Pieces to pull with their source URLs.


optional recordKeeper?: Address

Defined in: packages/synapse-core/src/sp/pull-pieces.ts:242

The address of the record keeper. If not provided, the default is the Warm Storage contract address.


serviceURL: string

Defined in: packages/synapse-core/src/sp/pull-pieces.ts:236

The service URL of the PDP API.


optional signal?: AbortSignal

Defined in: packages/synapse-core/src/sp/pull-pieces.ts:244

Optional AbortSignal to cancel the request.