Skip to content

UseUploadSimpleProps

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

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

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


optional onHash?: (hash) => void

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

The callback to call when the hash is available.

ParameterType
hashstring

void