{"id":26095293,"url":"https://github.com/osoianmarcel/egpp","last_synced_at":"2026-05-19T07:31:04.038Z","repository":{"id":57524664,"uuid":"255155533","full_name":"OsoianMarcel/egpp","owner":"OsoianMarcel","description":"A Golang library used to fetch Ethereum Gas Prices from different gas price providers.","archived":false,"fork":false,"pushed_at":"2023-01-05T20:04:46.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-26T02:06:49.381Z","etag":null,"topics":["client","ethereum","gas","go","golang","http","library","price","providers"],"latest_commit_sha":null,"homepage":"","language":"Go","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/OsoianMarcel.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":"2020-04-12T19:31:40.000Z","updated_at":"2022-06-22T17:53:04.000Z","dependencies_parsed_at":"2023-02-04T14:02:16.321Z","dependency_job_id":null,"html_url":"https://github.com/OsoianMarcel/egpp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OsoianMarcel%2Fegpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OsoianMarcel%2Fegpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OsoianMarcel%2Fegpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OsoianMarcel%2Fegpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OsoianMarcel","download_url":"https://codeload.github.com/OsoianMarcel/egpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242692367,"owners_count":20170231,"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":["client","ethereum","gas","go","golang","http","library","price","providers"],"created_at":"2025-03-09T13:15:32.767Z","updated_at":"2025-10-11T14:44:51.586Z","avatar_url":"https://github.com/OsoianMarcel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EGPP - Ethereum Gas Price Provider\nA Golang library used to fetch **Ethereum Gas Prices** from different gas price providers.\n\n[![Build Status](https://app.travis-ci.com/OsoianMarcel/egpp.svg?branch=master)](https://app.travis-ci.com/OsoianMarcel/egpp)\n[![GoDev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/OsoianMarcel/egpp)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/OsoianMarcel/egpp/blob/master/LICENSE)\n\n## Basic example\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"log\"\n\n    \"github.com/OsoianMarcel/egpp\"\n    \"github.com/OsoianMarcel/egpp/common\"\n    \"github.com/OsoianMarcel/egpp/providers/etherchain\"\n    \"github.com/OsoianMarcel/egpp/providers/ethergasstation\"\n    \"github.com/OsoianMarcel/egpp/providers/etherscan\"\n)\n\nfunc main() {\n    // Gas price providers\n    providers := []common.Provider{\n        ethergasstation.NewProvider(),\n        etherchain.NewProvider(),\n        etherscan.NewProvider(\"\"),\n    }\n\n    // Requests the gas price values from providers in order and returns the first successful result\n    gasPriceStruct, err := egpp.GetGasPriceWithFallback(providers)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    fmt.Printf(\"%+v\\n\", gasPriceStruct)\n    // {Provider:Ether Gas Station Standard:9800 SafeLow:9200 Fast:14300 Fastest:14300}\n}\n```\n\n## Contribute\n\nContributions to the package are always welcome!\n\n* Report any bugs or issues you find on the [issue tracker].\n* You can grab the source code at the package's [Git repository].\n\n## License\n\nAll contents of this package are licensed under the [MIT license].\n\n[issue tracker]: https://github.com/OsoianMarcel/egpp/issues\n[Git repository]: https://github.com/OsoianMarcel/egpp\n[MIT license]: LICENSE","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosoianmarcel%2Fegpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosoianmarcel%2Fegpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosoianmarcel%2Fegpp/lists"}