@hashgraph/sdk
Version:
75 lines (74 loc) • 2.87 kB
TypeScript
export const MAINNET: {
"node00.swirldslabs.com:443": AccountId;
"node01-00-grpc.swirlds.com:443": AccountId;
"node03.swirldslabs.com:443": AccountId;
"node04.swirldslabs.com:443": AccountId;
"node05.swirldslabs.com:443": AccountId;
"node06.swirldslabs.com:443": AccountId;
"node07.swirldslabs.com:443": AccountId;
"node09.swirldslabs.com:443": AccountId;
"node10.swirldslabs.com:443": AccountId;
"node11.swirldslabs.com:443": AccountId;
"node12.swirldslabs.com:443": AccountId;
"node14.swirldslabs.com:443": AccountId;
"node15.swirldslabs.com:443": AccountId;
"node16.swirldslabs.com:443": AccountId;
"node17.swirldslabs.com:443": AccountId;
"node18.swirldslabs.com:443": AccountId;
"node19.swirldslabs.com:443": AccountId;
"node20.swirldslabs.com:443": AccountId;
"node21.swirldslabs.com:443": AccountId;
"node22.swirldslabs.com:443": AccountId;
"node24.swirldslabs.com:443": AccountId;
"node25.swirldslabs.com:443": AccountId;
"node26.swirldslabs.com:443": AccountId;
"node27.swirldslabs.com:443": AccountId;
"node28.swirldslabs.com:443": AccountId;
"node29.swirldslabs.com:443": AccountId;
"node30.swirldslabs.com:443": AccountId;
"node31.swirldslabs.com:443": AccountId;
};
export const WEB_TESTNET: {
"testnet-node00-00-grpc.hedera.com:443": AccountId;
"testnet-node01-00-grpc.hedera.com:443": AccountId;
"testnet-node02-00-grpc.hedera.com:443": AccountId;
"testnet-node03-00-grpc.hedera.com:443": AccountId;
"testnet-node04-00-grpc.hedera.com:443": AccountId;
"testnet-node05-00-grpc.hedera.com:443": AccountId;
"testnet-node06-00-grpc.hedera.com:443": AccountId;
};
export const WEB_PREVIEWNET: {
"previewnet-node00-00-grpc.hedera.com:443": AccountId;
"previewnet-node01-00-grpc.hedera.com:443": AccountId;
"previewnet-node02-00-grpc.hedera.com:443": AccountId;
"previewnet-node03-00-grpc.hedera.com:443": AccountId;
"previewnet-node04-00-grpc.hedera.com:443": AccountId;
"previewnet-node05-00-grpc.hedera.com:443": AccountId;
"previewnet-node06-00-grpc.hedera.com:443": AccountId;
};
export const NATIVE_TESTNET: {
"testnet-node00-00-grpc.hedera.com:443": AccountId;
};
export const NATIVE_PREVIEWNET: {
"previewnet-node00-00-grpc.hedera.com:443": AccountId;
};
/**
* @type {Record<string, AccountId>}
*/
export const ALL_WEB_NETWORK_NODES: Record<string, AccountId>;
/**
* @type {Record<string, string>}
*/
export const ALL_NETWORK_IPS: Record<string, string>;
export namespace MirrorNetwork {
/**
* @param {string} name
* @returns {string[]}
*/
function fromName(name: string): string[];
let MAINNET: string[];
let TESTNET: string[];
let PREVIEWNET: string[];
let LOCAL_NODE: string[];
}
import AccountId from "../account/AccountId.js";