@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
11 lines (10 loc) • 841 B
TypeScript
import { type ChainId } from '../config';
/** @deprecated Use REST API instead */
export declare const getFeedGraphqlEndpoint: (chainId: ChainId) => string;
export declare const getBetsGraphqlEndpoint: (chainId: ChainId) => string;
/**
* @deprecated Only for v2 feed
*/
export declare const getLegacyLiveGraphqlEndpoint: (chainId: ChainId) => "https://thegraph.onchainfeed.org/subgraphs/name/azuro-protocol/azuro-api-live-data-feed-dev" | "https://thegraph.onchainfeed.org/subgraphs/name/azuro-protocol/azuro-api-live-data-feed";
export declare const getSocketEndpoint: (chainId: ChainId) => "wss://dev-streams.onchainfeed.org/v1/streams" | "wss://streams.onchainfeed.org/v1/streams";
export declare const getApiEndpoint: (chainId: ChainId) => "https://dev-api.onchainfeed.org/api/v1/public" | "https://api.onchainfeed.org/api/v1/public";