useGetMultipleEscrowBalances
Returns all the information of an escrow requested through the contractId.
Usage
import { useGetMultipleEscrowBalances } from "@trustless-work/escrow/hooks";
import { GetBalanceParams } from "@trustless-work/escrow/types";
/*
* useGetEscrow
*/
const { getMultipleBalances } = useGetMultipleEscrowBalances();
/*
* It returns the balances of the escrows
* payload should be of type `GetBalanceParams`
*/
await getMultipleBalances(payload);Function
Usage ExampleForm
Last updated
Was this helpful?