PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-polyx/dist/src/lib
Просмотр файла: utils.d.ts
import { Utils as SubstrateUtils, Interface } from '@bitgo/abstract-substrate';
import { NetworkType } from '@bitgo/statics';
import { TypeRegistry } from '@substrate/txwrapper-core/lib/types';
import { BatchCallObject } from './iface';
export declare class Utils extends SubstrateUtils {
/**
* Get the appropriate address format based on network type
* Returns 12 for mainnet and 42 for testnet
*
* @param coinName The name of the coin
* @returns The address format to use
*/
getAddressFormat(coinName: string): number;
getMaterial(networkType: NetworkType): Interface.Material;
decodeMethodName(call: BatchCallObject, registry: TypeRegistry): string;
}
declare const utils: Utils;
export default utils;
//# sourceMappingURL=utils.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!