BasePullPiecesOptions
BasePullPiecesOptions =
object
Defined in: packages/synapse-core/src/sp/pull-pieces.ts:234
Base options for pulling pieces.
Properties
Section titled “Properties”extraData?
Section titled “extraData?”
optionalextraData?:Hex
Defined in: packages/synapse-core/src/sp/pull-pieces.ts:246
Pre-built signed extraData. When provided, skips internal EIP-712 signing.
nonce?
Section titled “nonce?”
optionalnonce?: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
Section titled “pieces”pieces:
PullPieceInput[]
Defined in: packages/synapse-core/src/sp/pull-pieces.ts:238
Pieces to pull with their source URLs.
recordKeeper?
Section titled “recordKeeper?”
optionalrecordKeeper?: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
Section titled “serviceURL”serviceURL:
string
Defined in: packages/synapse-core/src/sp/pull-pieces.ts:236
The service URL of the PDP API.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/synapse-core/src/sp/pull-pieces.ts:244
Optional AbortSignal to cancel the request.