MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / publicRequest

Method publicRequest

src/node-binance-api.ts:542–547  ·  view source on GitHub ↗
(url: string, data: Dict = {}, method: HttpMethod = 'GET')

Source from the content-addressed store, hash-verified

540 }
541
542 async publicRequest(url: string, data: Dict = {}, method: HttpMethod = 'GET') {
543 const query = this.makeQueryString(data);
544 const opt = this.reqObj(url + (query ? '?' + query : ''), data, method);
545 const res = await this.proxyRequest(opt);
546 return res;
547 }
548
549 /**
550 * Used to make public requests to the futures (FAPI) API

Callers 4

publicFuturesRequestMethod · 0.95
publicDeliveryRequestMethod · 0.95
publicSpotRequestMethod · 0.95
systemStatusMethod · 0.95

Calls 3

makeQueryStringMethod · 0.95
reqObjMethod · 0.95
proxyRequestMethod · 0.95

Tested by

no test coverage detected