useUpdateEscrow
This endpoint allows you to change the properties of an escrow as long as a series of requirements are met, which will be mentioned in this section.
useUpdateEscrow
Import
import { useUpdateEscrow } from "@trustless-work/escrow";
// or
import { useUpdateEscrow } from "@trustless-work/escrow/hooks/rest";Signature
function useUpdateEscrow(): {
updateEscrow: (
payload: UpdateSingleReleaseEscrowPayload | UpdateMultiReleaseEscrowPayload,
type: EscrowType,
) => Promise<BuildTransactionResponse>;
};Single vs multi
Type
Payload
Notes