Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:39

optional clientDataSetId?: bigint

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:41

The client data set id (nonce) to use for the signature.


optional metadata?: MetadataEntry[]

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:47

Dataset metadata.


optional nonce?: bigint

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:51

The nonce to use for the add pieces signature.


payee: Address

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:43

The payee address to use for the signature.


optional payer?: Address

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:45

The payer address to use for the signature. If client is from a session key this should be set to the actual payer address.


pieces: object[]

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:49

The pieces with metadata to sign.

optional metadata?: MetadataEntry[]

pieceCid: PieceCID


optional verifyingContract?: Address

Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:53

The verifying contract to use. If not provided, the default is the FilecoinWarmStorageService contract address.