{"id":21418295,"url":"https://github.com/abrkn/bitcoin-json-rpc","last_synced_at":"2025-07-14T05:30:50.389Z","repository":{"id":39892270,"uuid":"256430645","full_name":"abrkn/bitcoin-json-rpc","owner":"abrkn","description":"Bitcoin JSON RPC for TypeScript with Response Type Enforcement","archived":false,"fork":false,"pushed_at":"2024-06-02T02:28:17.000Z","size":502,"stargazers_count":14,"open_issues_count":18,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-08T12:06:27.261Z","etag":null,"topics":["bitcoin","jsonrpc","typescript","zcash"],"latest_commit_sha":null,"homepage":null,"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/abrkn.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":"2020-04-17T07:16:55.000Z","updated_at":"2024-08-26T19:15:31.000Z","dependencies_parsed_at":"2024-06-02T03:39:12.407Z","dependency_job_id":"3dfae0d9-4db8-4ed5-b88e-0e2cb1a91ccb","html_url":"https://github.com/abrkn/bitcoin-json-rpc","commit_stats":{"total_commits":39,"total_committers":5,"mean_commits":7.8,"dds":"0.33333333333333337","last_synced_commit":"c1390d672bf765cd864520b4f5f0f779d392ad35"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrkn%2Fbitcoin-json-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrkn%2Fbitcoin-json-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrkn%2Fbitcoin-json-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrkn%2Fbitcoin-json-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abrkn","download_url":"https://codeload.github.com/abrkn/bitcoin-json-rpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225951674,"owners_count":17550416,"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","jsonrpc","typescript","zcash"],"created_at":"2024-11-22T19:19:59.099Z","updated_at":"2024-11-22T19:19:59.743Z","avatar_url":"https://github.com/abrkn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitcoin-json-rpc\n\nBitcoin JSON RPC for TypeScript with Response Type Enforcement\n\n## Installing\n\n`npm install bitcoin-json-rpc`\n\n## Example usage\n\n```typescript\nimport BitcoinJsonRpc from 'bitcoin-json-rpc';\n\nconst rpc = new BitcoinJsonRpc('http://localhost:8332');\n\nconst balance = await rpc.getBalance();\nconsole.log(balance);\n```\n\n## Non-standard methods\n\nMethods not exposed by Bitcoin Core, such as `omni_getwalletaddressbalances`\nor Liquid's `getbalance` are prefixed i.e. `getLiquidBalanceForAsset`.\n\n## Motivation\n\nThere are plenty of Bitcoin forks, including Omni, Zcash, and Blockstream Liquid.\nThese forks often introduce breaking changes to the JSON RPC responses that\nare not reflected in their documentation.\n\nThis library provides TypeScript types for RPC commands and validates the responses\nusing `io-ts`. If the response does not match the schema, an error is thrown.\n\n## Author\n\nAndreas Brekken\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabrkn%2Fbitcoin-json-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabrkn%2Fbitcoin-json-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabrkn%2Fbitcoin-json-rpc/lists"}