{"id":18770950,"url":"https://github.com/uniswap/redux-multicall","last_synced_at":"2025-04-05T22:06:34.181Z","repository":{"id":37073091,"uuid":"418587484","full_name":"Uniswap/redux-multicall","owner":"Uniswap","description":"A React + Redux library for fetching, batching, and caching chain state via the MultiCall contract.","archived":false,"fork":false,"pushed_at":"2022-11-19T00:18:59.000Z","size":678,"stargazers_count":93,"open_issues_count":5,"forks_count":50,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-05-16T09:20:29.915Z","etag":null,"topics":["multicall","react","redux","uniswap"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uniswap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-18T16:44:00.000Z","updated_at":"2024-05-16T09:20:29.916Z","dependencies_parsed_at":"2023-01-20T13:31:49.024Z","dependency_job_id":null,"html_url":"https://github.com/Uniswap/redux-multicall","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fredux-multicall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fredux-multicall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fredux-multicall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fredux-multicall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uniswap","download_url":"https://codeload.github.com/Uniswap/redux-multicall/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406088,"owners_count":20933803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["multicall","react","redux","uniswap"],"created_at":"2024-11-07T19:22:33.946Z","updated_at":"2025-04-05T22:06:34.140Z","avatar_url":"https://github.com/Uniswap.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiCall\n\nA React + Redux library for fetching, batching, and caching chain state via the MultiCall contract.\n\n## Setup\n\n`yarn add @uniswap/redux-multicall` or `npm install @uniswap/redux-multicall`\n\n## Usage\n\nThe usage of this library is similar to [RTK Query](https://redux-toolkit.js.org/rtk-query/overview#create-an-api-slice).\n\n```js\n// Somewhere in your app\nexport const multicall = createMulticall({ reducerPath: 'multicall' })\n\n// In your store's root reducer\nexport const rootReducer = combineReducers({\n  // Other reducers\n  [multicall.reducerPath]: multicall.reducer\n})\n```\n\nTo use the updater, you'll need an instance of the Uniswap Multicall2 contract:\n\n```js\nimport { abi as MulticallABI } from '@uniswap/v3-periphery/artifacts/contracts/lens/UniswapInterfaceMulticall.sol/UniswapInterfaceMulticall.json'\nimport { Contract } from '@ethersproject/contracts'\nimport { UniswapInterfaceMulticall } from './abi/types'\n\nconst multicall2Contract = new Contract(address, MulticallABI, provider) as UniswapInterfaceMulticall\n```\n\nFor a more detailed example, see basic example app in `./integration-tests`\n\n## Alpha software\n\nThe latest version of the SDK is used in production in the Uniswap Interface,\nbut it is considered Alpha software and may contain bugs or change significantly between patch versions.\nIf you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.\nPull requests welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiswap%2Fredux-multicall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiswap%2Fredux-multicall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiswap%2Fredux-multicall/lists"}