Skip to content

UseCreateDataSetProps

Defined in: synapse-react/src/warm-storage/use-create-data-set.ts:7

optional mutation: Omit<MutateOptions<{ createMessageHash: `0x${string}`; dataSetCreated: true; dataSetId: bigint; ok: true; service: string; txStatus: "confirmed"; }, Error, UseCreateDataSetVariables, unknown>, "mutationFn">

Defined in: synapse-react/src/warm-storage/use-create-data-set.ts:12


optional onHash: (hash) => void

Defined in: synapse-react/src/warm-storage/use-create-data-set.ts:11

The callback to call when the hash is available.

ParameterType
hashstring

void