@xoxno/sdk-js
Version:
The SDK to interact with the XOXNO Protocol!
31 lines • 843 B
TypeScript
import type { IChainID } from '@multiversx/sdk-core/out/interface';
export declare enum Chain {
MAINNET = "1",
DEVNET = "D"
}
export declare class XOXNOClient {
private static instance;
apiUrl: string;
private apiKey;
chain: IChainID;
config: {
mediaUrl: string;
gatewayUrl: string;
XO_SC: string;
FM_SC: string;
DR_SC: string;
KG_SC: string;
Staking_SC: string;
Manager_SC: string;
P2P_SC: string;
};
private constructor();
static init({ apiUrl, apiKey, chain, }?: Partial<{
apiUrl?: string;
apiKey?: string;
chain?: Chain;
}>): XOXNOClient;
static getInstance(): XOXNOClient;
fetchWithTimeout: <T>(path: string, options?: Record<string, any>) => Promise<T>;
}
//# sourceMappingURL=api.d.ts.map