{"id":21891598,"url":"https://github.com/ahmad-maartmesrini/first-package","last_synced_at":"2026-04-13T17:34:46.535Z","repository":{"id":225692042,"uuid":"766583672","full_name":"Ahmad-Maartmesrini/first-package","owner":"Ahmad-Maartmesrini","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-17T15:26:15.000Z","size":174,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T03:22:48.491Z","etag":null,"topics":["alchemy","ethereum","etherscan"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/con3x-task-package","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/Ahmad-Maartmesrini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-03T17:02:27.000Z","updated_at":"2024-03-09T16:15:42.000Z","dependencies_parsed_at":"2024-11-28T14:00:34.962Z","dependency_job_id":null,"html_url":"https://github.com/Ahmad-Maartmesrini/first-package","commit_stats":null,"previous_names":["ahmad-maartmesrini/con3x-task-package"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ahmad-Maartmesrini/first-package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmad-Maartmesrini%2Ffirst-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmad-Maartmesrini%2Ffirst-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmad-Maartmesrini%2Ffirst-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmad-Maartmesrini%2Ffirst-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ahmad-Maartmesrini","download_url":"https://codeload.github.com/Ahmad-Maartmesrini/first-package/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmad-Maartmesrini%2Ffirst-package/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31762705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["alchemy","ethereum","etherscan"],"created_at":"2024-11-28T12:39:57.172Z","updated_at":"2026-04-13T17:34:46.519Z","avatar_url":"https://github.com/Ahmad-Maartmesrini.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Technical Task Package**\n\n---\n\n### Installation\n\nYou can install this npm package by typing the following command in your terminal:\n\n```\nnpm install technical-task\n```\n\n### Usage\n\nThis npm package provides two main functions:\n\n1. **getLastBlockNumber**: Fetches the last block number of the Ethereum mainnet using the Alchemy SDK API key.\n\n2. **Balance**: Fetches the balance of a given Ethereum address.\n\n### How to Use\n\nTo use the functions provided by this package, import them into your project as needed.\n\n```typescript\nimport { getLastBlockNumber, Balance } from \"technical-task\";\n\n// Example usage of getLastBlockNumber\nconst lastBlockNumber = await getLastBlockNumber();\n\n// Example usage of Balance\nconst address = \"0x1234567890123456789012345678901234567890\";\nconst balance = await Balance(address, \"your-api-key\");\n```\n\n- **getLastBlockNumber** function expects an Alchemy SDK API key as an argument.\n- **Balance** function expects an Ethereum address as an argument.\n\n\n### License\n\nThis package is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmad-maartmesrini%2Ffirst-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmad-maartmesrini%2Ffirst-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmad-maartmesrini%2Ffirst-package/lists"}