OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:39
Properties
Section titled “Properties”clientDataSetId?
Section titled “clientDataSetId?”
optionalclientDataSetId?: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.
metadata?
Section titled “metadata?”
optionalmetadata?:MetadataEntry[]
Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:47
Dataset metadata.
nonce?
Section titled “nonce?”
optionalnonce?: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.
payer?
Section titled “payer?”
optionalpayer?: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
Section titled “pieces”pieces:
object[]
Defined in: packages/synapse-core/src/typed-data/sign-create-dataset-add-pieces.ts:49
The pieces with metadata to sign.
metadata?
Section titled “metadata?”
optionalmetadata?:MetadataEntry[]
pieceCid
Section titled “pieceCid”pieceCid:
PieceCID
verifyingContract?
Section titled “verifyingContract?”
optionalverifyingContract?: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.