{"id":16760338,"url":"https://github.com/roccomuso/coinsecrets","last_synced_at":"2026-05-08T11:33:15.889Z","repository":{"id":57202993,"uuid":"141129158","full_name":"roccomuso/coinsecrets","owner":"roccomuso","description":"Unofficial Node.js client to Coinsecrets.org API","archived":false,"fork":false,"pushed_at":"2018-07-22T15:12:59.000Z","size":4,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T04:25:17.257Z","etag":null,"topics":["api","bitcoin","blockchain","client","coinsecrets","js","nodejs","opreturn"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/roccomuso.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":"2018-07-16T11:24:03.000Z","updated_at":"2018-07-22T15:13:01.000Z","dependencies_parsed_at":"2022-09-17T04:11:06.658Z","dependency_job_id":null,"html_url":"https://github.com/roccomuso/coinsecrets","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/roccomuso%2Fcoinsecrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fcoinsecrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fcoinsecrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fcoinsecrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roccomuso","download_url":"https://codeload.github.com/roccomuso/coinsecrets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847056,"owners_count":20357317,"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":["api","bitcoin","blockchain","client","coinsecrets","js","nodejs","opreturn"],"created_at":"2024-10-13T04:23:10.376Z","updated_at":"2026-05-08T11:33:10.862Z","avatar_url":"https://github.com/roccomuso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coinsecrets [![NPM Version](https://img.shields.io/npm/v/coinsecrets.svg)](https://www.npmjs.com/package/coinsecrets) ![node](https://img.shields.io/node/v/coinsecrets.svg) [![Dependency Status](https://david-dm.org/roccomuso/coinsecrets.png)](https://david-dm.org/roccomuso/coinsecrets) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\u003e Node.js unofficial client to Coinsecrets.org - Recent Metadata in the Bitcoin Blockchain\n\n[Coinsecrets.org](https://coinsecrets.org) lists metadata recently embedded in the bitcoin blockchain using `OP_RETURN` outputs.\n\n## Install\n\n\u003e npm install --save coinsecrets\n\n## Usage\n\n```javascript\nconst Coinsecrets = require('coinsecrets')\nlet cs = new Coinsecrets({ network: 'mainnet' }) // or testnet\n\ncs.block(353197)\n  .then(console.log)\n  .catch(console.error)\n\ncs.mempool()\n  .then(console.log)\n  .catch(console.error)\n\n```\n\n### Methods\n\n- `block(\u003cNumber\u003e)`: Get a block op_returns scripts.\n- `mempool()`: Get op_returns tx in the mempool.\n- `version()`: Get API version.\n\n## Debug\n\nTo enable debug set the env var `DEBUG=coinsecrets`\n\n# Author\n\nRocco Musolino ([@roccomuso](https://twitter.com/roccomuso))\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froccomuso%2Fcoinsecrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froccomuso%2Fcoinsecrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froccomuso%2Fcoinsecrets/lists"}