UNPKG

@effectai/sdk

Version:

Effect Network Javscript/Typescript SDK (for [https://effect.network](https://effect.network))

18 lines 523 B
import { useEFXContracts } from "../../utils/state"; export const getRepetitions = async ({ client }) => { try { const { tasks } = useEFXContracts(client); const { provider } = client; const response = await provider.v1.chain.get_table_rows({ code: tasks, table: "repsdone", scope: tasks, }); return response.rows; } catch (error) { console.error(error); throw error; } }; //# sourceMappingURL=getRepetitions.js.map