UseDeletePieceProps
Defined in: synapse-react/src/warm-storage/use-delete-piece.ts:11
Options shared by the write hooks that can sign with a session key.
Extends
Section titled “Extends”Properties
Section titled “Properties”mutation?
Section titled “mutation?”
optionalmutation?:Omit<MutateOptions<TransactionReceipt,Error,UseDeletePieceVariables,unknown>,"mutationFn">
Defined in: synapse-react/src/warm-storage/use-delete-piece.ts:16
onHash?
Section titled “onHash?”
optionalonHash?: (hash) =>void
Defined in: synapse-react/src/warm-storage/use-delete-piece.ts:15
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?”
optionalsessionKey?:SessionKey<"Secp256k1"> |null
Defined in: synapse-react/src/signer.ts:14
The session key to sign storage provider (EIP-712) operations with. If not provided, the connected wallet signs.