Skip to content

UseUploadProps

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

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:12


optional onHash: (hash) => void

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

The callback to call when the hash is available.

ParameterType
hashstring

void