UNPKG

@iexec/web3mail

Version:

This product enables users to confidentially store data–such as mail address, documents, personal information ...

27 lines (26 loc) 1.11 kB
export declare const MAX_DESIRED_DATA_ORDER_PRICE = 0; export declare const MAX_DESIRED_APP_ORDER_PRICE = 0; export declare const MAX_DESIRED_WORKERPOOL_ORDER_PRICE = 0; export declare const DEFAULT_CONTENT_TYPE = "text/plain"; export declare const ANY_DATASET_ADDRESS = "any"; export declare const CALLBACK_WEB3MAIL = "0x5f936db7ad6d29371808e42a87015595d90509ba"; interface ChainConfig { name: string; dappAddress?: string; prodWorkerpoolAddress: string; dataProtectorSubgraph: string; ipfsUploadUrl: string; ipfsGateway: string; whitelistSmartContract: string; isExperimental?: boolean; } export declare const getChainDefaultConfig: (chainId: number, options?: { allowExperimentalNetworks?: boolean; }) => ChainConfig | null; /** * When `ethProvider` is a string, it may be an RPC URL, a decimal chain id, or an * iExec chain host name (see each chain's `name` in CHAIN_CONFIG). RPC URLs are not * resolved here (returns undefined); JsonRpcProvider handles those. */ export declare function tryResolveChainIdFromProviderString(hint: string): number | undefined; export {};