{"id":18411393,"url":"https://github.com/alfg/blockchain","last_synced_at":"2025-04-07T11:31:40.623Z","repository":{"id":24964261,"uuid":"28382318","full_name":"alfg/blockchain","owner":"alfg","description":":moneybag: Go (golang) Client for the Blockchain.info API","archived":false,"fork":false,"pushed_at":"2017-03-04T07:14:11.000Z","size":7,"stargazers_count":44,"open_issues_count":0,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-22T17:02:05.363Z","etag":null,"topics":["bitcoin","blockchain","go"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/alfg/blockchain","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/alfg.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":"2014-12-23T06:39:51.000Z","updated_at":"2025-01-11T09:07:30.000Z","dependencies_parsed_at":"2022-07-24T03:30:19.224Z","dependency_job_id":null,"html_url":"https://github.com/alfg/blockchain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fblockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fblockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fblockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fblockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfg","download_url":"https://codeload.github.com/alfg/blockchain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247644106,"owners_count":20972223,"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":["bitcoin","blockchain","go"],"created_at":"2024-11-06T03:36:46.838Z","updated_at":"2025-04-07T11:31:40.263Z","avatar_url":"https://github.com/alfg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"blockchain\n==========\n\n[![Build Status](https://travis-ci.org/alfg/blockchain.svg?branch=master)](https://travis-ci.org/alfg/blockchain)\n\nGo Client for the Blockchain Data API https://blockchain.info/api/blockchain_api\n\nDocumentation: https://godoc.org/github.com/alfg/blockchain\n\n## Installation\n\n```\ngo get github.com/alfg/blockchain\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n  \"github.com/alfg/blockchain\"\n  \"fmt\"\n)\n\nfunc main() {\n\n\tc, e := blockchain.New()\n\tresp, e := c.GetAddress(\"162FjqU7RYdojnejCDe6zrPDUpaLcv9Hhq\")\n\tif e != nil {\n\t\tfmt.Print(e)\n\t}\n\n\tfmt.Println(resp.Hash160)\n\tfmt.Println(resp.Address)\n\tfmt.Println(resp.NTx)\n\tfmt.Println(resp.TotalReceived)\n\tfmt.Println(resp.TotalSent)\n\tfmt.Println(resp.FinalBalance)\n\n\tfor i := range resp.Txs {\n\t\tfmt.Println(resp.Txs[i].Result)\n\n\t\tfor j := range resp.Txs[i].Inputs {\n\t\t\tfmt.Println(resp.Txs[i].Inputs[j].Sequence)\n\t\t\tfmt.Println(resp.Txs[i].Inputs[j].PrevOut.Spent)\n\t\t}\n\t}\n\n}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfg%2Fblockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfg%2Fblockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfg%2Fblockchain/lists"}