python-proxy-scraper-client
Version:
A TypeScript client for interacting with a Python proxy scraper service
14 lines (13 loc) • 470 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.RugCheckClient = void 0;
const base_client_1 = require("../../shared/base-client");
class RugCheckClient extends base_client_1.BaseClient {
constructor(baseUrl = 'http://localhost:8000') {
super({ baseUrl });
}
async getTokenReport(tokenAddress) {
return this.get(`/rugcheck/tokens/${tokenAddress}/report`);
}
}
exports.RugCheckClient = RugCheckClient;
;