@bajetech/astrax-api
Version:
Utility functions to interact with AstraX web extension
20 lines (19 loc) • 733 B
TypeScript
import DigitalBitsSdk from "xdb-digitalbits-sdk";
export interface NetworkDetails {
isTestnet: boolean;
network: string;
networkName: string;
otherNetworkName: string;
networkUrl: string;
networkPassphrase: typeof DigitalBitsSdk.Networks.TESTNET | typeof DigitalBitsSdk.Networks.PUBLIC;
}
export declare const MAINNET_NETWORK_DETAILS: NetworkDetails;
export declare const TESTNET_NETWORK_DETAILS: NetworkDetails;
export declare const getNetworkDetails: (isTestnet: boolean) => {
isTestnet: boolean;
network: string;
networkName: string;
otherNetworkName: string;
networkUrl: string;
networkPassphrase: typeof DigitalBitsSdk.Networks.TESTNET | typeof DigitalBitsSdk.Networks.PUBLIC;
};