Skip to content

UseUploadProps

Defined in: synapse-react/src/warm-storage/use-upload.ts:9

optional mutation: Omit<MutateOptions<{ addMessageOk: true; confirmedPieceIds: bigint[]; dataSetId: bigint; pieceCount: number; piecesAdded: true; txHash: `0x${string}`; txStatus: "confirmed"; }, Error, UseUploadVariables, unknown>, "mutationFn">

Defined in: synapse-react/src/warm-storage/use-upload.ts:15


optional onHash: (hash) => void

Defined in: synapse-react/src/warm-storage/use-upload.ts:13

The callback to call when the hash is available.

ParameterType
hashstring

void


optional sessionKey: SessionKey

Defined in: synapse-react/src/warm-storage/use-upload.ts:14