UseDeletePieceProps
Defined in: packages/synapse-react/src/warm-storage/use-delete-piece.ts:9
Properties
Section titled “Properties”mutation?
Section titled “mutation?”optional mutation: Omit<MutateOptions<TransactionReceipt, Error, UseDeletePieceVariables, unknown>, "mutationFn">;Defined in: packages/synapse-react/src/warm-storage/use-delete-piece.ts:15
onHash()?
Section titled “onHash()?”optional onHash: (hash) => void;Defined in: packages/synapse-react/src/warm-storage/use-delete-piece.ts:13
The callback to call when the hash is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | string |
Returns
Section titled “Returns”void
sessionKey?
Section titled “sessionKey?”optional sessionKey: SessionKey;Defined in: packages/synapse-react/src/warm-storage/use-delete-piece.ts:14