useGetEscrowFromIndexerByContractIds
Returns the escrows that you're looking for. It comes from our indexer (database) synchronizer with the blockchain.
Usage
import { useGetEscrowFromIndexerByContractIds } from "@trustless-work/escrow/hooks";
import { GetEscrowFromIndexerByContractIdsParams } from "@trustless-work/escrow/types";
/*
* useGetEscrowFromIndexerByContractIds
*/
const { getEscrowByContractIds } = useGetEscrowFromIndexerByContractIds();
/*
* It returns the escrow that you are looking for
* payload should be of type `GetEscrowFromIndexerByContractIdsParams`
*/
await getEscrowByContractIds(payload);Function
Usage ExampleForm
Last updated
Was this helpful?