UNPKG

@effectai/sdk

Version:

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

14 lines 428 B
import { useEFXContracts } from "../../utils/state"; export const getDaoSettings = async ({ client }) => { const { dao } = useEFXContracts(client); const { provider } = client; const { rows } = await provider.v1.chain.get_table_rows({ code: dao, scope: dao, table: "config", limit: 1, }); const [config] = rows; return config; }; //# sourceMappingURL=getDaoSettings.js.map