{"library":"chia-agent","type":"library","category":null,"description":"chia-agent is a comprehensive Node.js client library (v16.1.5) for interacting with Chia blockchain RPC and WebSocket APIs. It supports all RPC/WebSocket endpoints available in chia-blockchain 2.5.5, covering services like farmer, harvester, full_node, wallet, pool, data_layer, and crawler. The library is fully TypeScript with typed exports, requires Node.js >=20, and is actively maintained. Its key differentiators include seamless integration with both local daemon and direct RPC connections, complete API coverage, and event-driven WebSocket subscriptions for real-time farming/plotting data.","language":"javascript","status":"active","version":"16.1.5","tags":["javascript","chia","xch","crypto","rpc","websocket","pool","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install chia-agent","imports":["import { RPCAgent } from 'chia-agent'","import { getDaemon } from 'chia-agent'","import { get_plots } from 'chia-agent/api/rpc'","import { on_new_farming_info } from 'chia-agent/api/ws'"]},{"cmd":"yarn add chia-agent","imports":[]},{"cmd":"pnpm add chia-agent","imports":[]}],"homepage":"https://github.com/Chia-Mine/chia-agent#readme","github":"https://github.com/Chia-Mine/chia-agent","docs":null,"changelog":null,"pypi":null,"npm":"chia-agent","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}