MCPcopy Create free account
hub / github.com/code100x/cms / fetchPayoutMethods

Function fetchPayoutMethods

src/hooks/usePayoutMethod.ts:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 >([]);
17
18 const fetchPayoutMethods = async () => {
19 const result = await getPayoutMethods();
20 if (result) {
21 setUpiAddresses(result.upiIds);
22 setSolanaAddresses(result.solanaAddresses);
23 }
24 };
25
26 const { execute: executeDeleteUPI } = useAction(deleteUpiId, {
27 onSuccess: () => {

Callers 1

usePayoutMethodsFunction · 0.70

Calls 1

getPayoutMethodsFunction · 0.90

Tested by

no test coverage detected