MCPcopy Create free account
hub / github.com/block/buzz / fetchHistory

Method fetchHistory

desktop/src/shared/api/relayClientSession.ts:228–231  ·  view source on GitHub ↗
(filter: RelaySubscriptionFilter)

Source from the content-addressed store, hash-verified

226 }
227
228 private async fetchHistory(filter: RelaySubscriptionFilter) {
229 await this.ensureConnected();
230 return this.requestHistory(filter);
231 }
232
233 private requestHistory(filter: RelaySubscriptionFilter) {
234 return new Promise<RelayEvent[]>((resolve, reject) => {

Callers 3

fetchChannelHistoryMethod · 0.95
fetchEventsMethod · 0.95

Calls 2

ensureConnectedMethod · 0.95
requestHistoryMethod · 0.95

Tested by

no test coverage detected