mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-30 12:26:00 +03:00
16 lines
596 B
JavaScript
16 lines
596 B
JavaScript
import * as Utilities from "~/node_common/utilities";
|
|
import * as Data from "~/node_common/data";
|
|
import * as Powergate from "~/node_common/powergate";
|
|
import * as Constants from "~/node_common/constants";
|
|
|
|
export const get = async () => {
|
|
// Current endpoints available for consumption
|
|
// Endpoints: blocks, blockParents, blockRewards, blockMessages, receipts, messages
|
|
const endpoint = "blocks";
|
|
// const response = await fetch(Constants.ANALYTICS_URL + endpoint);
|
|
// const analytics = response.json();
|
|
|
|
// TODO(jim): re-enable when we use the data.
|
|
return { disabled: true };
|
|
};
|