chia-agent
Version:
chia rpc/websocket client library
15 lines (14 loc) • 765 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.get_ips_after_timestamp_command = exports.get_peer_counts_command = exports.chia_crawler_service = void 0;
exports.get_peer_counts = get_peer_counts;
exports.get_ips_after_timestamp = get_ips_after_timestamp;
exports.chia_crawler_service = "chia_crawler";
exports.get_peer_counts_command = "get_peer_counts";
async function get_peer_counts(agent) {
return agent.sendMessage(exports.chia_crawler_service, exports.get_peer_counts_command);
}
exports.get_ips_after_timestamp_command = "get_ips_after_timestamp";
async function get_ips_after_timestamp(agent, params) {
return agent.sendMessage(exports.chia_crawler_service, exports.get_ips_after_timestamp_command, params);
}