UNPKG

@wttp/site

Version:

Web3 Transfer Protocol (WTTP) - Site Contracts and deployment tools

12 lines 541 B
import { IBaseWTTPSite, LOCATEResponseStruct } from "@wttp/core"; export declare function looseEqual(obj1: any, obj2: any): boolean; export declare function getMimeType(filePath: string): string; export declare function getDynamicGasSettings(): Promise<{ maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; }>; export declare function uploadFile(wttpSite: IBaseWTTPSite, sourcePath: string, destinationPath: string): Promise<{ response: LOCATEResponseStruct; content?: Uint8Array; }>; //# sourceMappingURL=uploadFile.d.ts.map