useFundEscrow
Allows users to deposit funds into an existing escrow contract, securing them until the agreed conditions are met.
useFundEscrow
Import
import { useFundEscrow } from "@trustless-work/escrow";
// or
import { useFundEscrow } from "@trustless-work/escrow/hooks/rest";Signature
function useFundEscrow(): {
fundEscrow: (
payload: FundEscrowPayload,
type: EscrowType,
) => Promise<BuildTransactionResponse>;
};