{"id":15677716,"url":"https://github.com/o-az/evm-balances","last_synced_at":"2025-07-18T10:08:21.500Z","repository":{"id":103637200,"uuid":"489253693","full_name":"o-az/evm-balances","owner":"o-az","description":"`balanceOf` except it checks against many ERC20 tokens at once","archived":false,"fork":false,"pushed_at":"2023-08-06T05:40:25.000Z","size":2049,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T01:26:26.414Z","etag":null,"topics":["arbitrum","balance","ethereum","evm","optimism","polygon","viem","wallet","web3"],"latest_commit_sha":null,"homepage":"https://balance.evm.workers.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/o-az.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-06T07:12:00.000Z","updated_at":"2025-01-25T20:42:15.000Z","dependencies_parsed_at":"2024-10-03T16:10:35.770Z","dependency_job_id":"fa3bb416-554c-4ec4-9ca1-771cc0bd6c5a","html_url":"https://github.com/o-az/evm-balances","commit_stats":null,"previous_names":["o-az/evm-balances-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/o-az/evm-balances","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-az%2Fevm-balances","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-az%2Fevm-balances/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-az%2Fevm-balances/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-az%2Fevm-balances/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/o-az","download_url":"https://codeload.github.com/o-az/evm-balances/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-az%2Fevm-balances/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265738525,"owners_count":23820166,"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":["arbitrum","balance","ethereum","evm","optimism","polygon","viem","wallet","web3"],"created_at":"2024-10-03T16:10:31.316Z","updated_at":"2025-07-18T10:08:21.470Z","avatar_url":"https://github.com/o-az.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## \u003ch1 align=\"center\"\u003eEVM Multicoin Balances Smart Contract and HTTP API\u003c/h1\u003e\n\nThis is like `balanceOf` but for multiple coins. It takes 2 inputs, a wallet address and an array of coin addresses. It returns an array of balances for each coin. The first element of the array is the wallet balance of the native coin of the chain.\n\nFor contract code, see [packages/core/src/Balances.sol](./packages/core/src/BalancesOf.sol).\n\nFor usage example, see the [packages/core/example/balances.ts](./packages/core/example/balances.ts).\n\nFor HTTP API (deployed on Cloudflare Workers), see [apps/api](./apps/api).\n\n## Deployed Contracts\n\n| Network | Address |\n| --- | --- |\n| Ethereum | [0x13675852Ac733AEd5679985778BE5c18E64E97FA](https://etherscan.io/address/0x13675852Ac733AEd5679985778BE5c18E64E97FA#code) |\n| Arbitrum | [0x77e883446e4cDE8955b4ce07DfCf0E9887B0e66c](https://arbiscan.io/address/0x77e883446e4cDE8955b4ce07DfCf0E9887B0e66c#code) |\n| Optimism | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://optimistic.etherscan.io/address/0xc9ba77c9b27481b6789840a7c3128d4f691f8296#code) |\n| Polygon | [0x8b08FE6F8443f7bBbEde50Ecc8B020d9e44997a2](https://polygonscan.com/address/0x8b08FE6F8443f7bBbEde50Ecc8B020d9e44997a2#code) |\n| Avalanche | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://snowtrace.io/address/0xc9ba77c9b27481b6789840a7c3128d4f691f8296#code) |\n| Celo | [0x5D88da6682B9088B9e31c900Be850de20cF20B11](https://celoscan.io/address/0x5d88da6682b9088b9e31c900be850de20cf20b11#code) |\n| Gnosis | [0x5D88da6682B9088B9e31c900Be850de20cF20B11](https://gnosisscan.io/address/0x5d88da6682b9088b9e31c900be850de20cf20b11#code) |\n| Harmony One | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://explorer.harmony.one/address/0xc9ba77c9b27481b6789840a7c3128d4f691f8296#code) |\n| Moonbeam | [0x5D88da6682B9088B9e31c900Be850de20cF20B11](https://moonbeam-explorer.netlify.app/address/0x5d88da6682b9088b9e31c900be850de20cf20b11#code) |\n| Fantom | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://ftmscan.com/address/0xc9ba77c9b27481b6789840a7c3128d4f691f8296#code) |\n| BSC | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://bscscan.com/address/0xc9ba77c9b27481b6789840a7c3128d4f691f8296#code) |\n| Aurora | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://explorer.aurora.dev/address/0xc9bA77C9b27481B6789840A7C3128D4f691f8296) |\n| Goerli | [0x694be3BCecAf1dD69ba91D21c54E22C87882a595](https://goerli.etherscan.io/address/0x694be3BCecAf1dD69ba91D21c54E22C87882a595#code) |\n| Sepolia | [0x5D88da6682B9088B9e31c900Be850de20cF20B11](https://sepolia.etherscan.io/address/0x5D88da6682B9088B9e31c900Be850de20cF20B11#code) |\n| Polygon Mumbai | [0x5D88da6682B9088B9e31c900Be850de20cF20B11](https://mumbai.polygonscan.com/address/0x5D88da6682B9088B9e31c900Be850de20cF20B11#code) |\n| Optimism Goerli | [0x5D88da6682B9088B9e31c900Be850de20cF20B11](https://goerli-optimism.etherscan.io/address/0x5d88da6682b9088b9e31c900be850de20cf20b11#code) |\n| Arbitrum Goerli | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://goerli.arbiscan.io/address/0xc9ba77c9b27481b6789840a7c3128d4f691f8296#code) |\n| Fantom Testnet | [0xc9bA77C9b27481B6789840A7C3128D4f691f8296](https://testnet.ftmscan.com/address/0xc9ba77c9b27481b6789840a7c3128d4f691f8296#code) |\n| Base Goerli | [0x4a54047B53C5B011b00AcBdec84c090e6Cc175E2](https://goerli.basescan.org/address/0x4a54047b53c5b011b00acbdec84c090e6cc175e2#code) |\n\n```jsonc\n{\n  \"ethereum\": \"0x13675852Ac733AEd5679985778BE5c18E64E97FA\",\n  \"arbitrum\": \"0x77e883446e4cDE8955b4ce07DfCf0E9887B0e66c\",\n  \"optimism\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"polygon\": \"0x8b08FE6F8443f7bBbEde50Ecc8B020d9e44997a2\",\n  \"celo\": \"0x5D88da6682B9088B9e31c900Be850de20cF20B11\",\n  \"gnosis\": \"0x5D88da6682B9088B9e31c900Be850de20cF20B11\",\n  \"harmonyOne\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"moonbeam\": \"0x5D88da6682B9088B9e31c900Be850de20cF20B11\",\n  \"avalanche\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"fantom\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"bsc\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"aurora\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"goerli\": \"0x694be3BCecAf1dD69ba91D21c54E22C87882a595\",\n  \"sepolia\": \"0x5D88da6682B9088B9e31c900Be850de20cF20B11\",\n  \"polygonMumbai\": \"0x5D88da6682B9088B9e31c900Be850de20cF20B11\",\n  \"optimismGoerli\": \"0x5D88da6682B9088B9e31c900Be850de20cF20B11\",\n  \"arbitrumGoerli\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"fantomTestnet\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"avalancheFuji\": \"0xc9bA77C9b27481B6789840A7C3128D4f691f8296\",\n  \"baseGoerli\": \"0x4a54047B53C5B011b00AcBdec84c090e6Cc175E2\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-az%2Fevm-balances","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fo-az%2Fevm-balances","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-az%2Fevm-balances/lists"}