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