UNPKG

@trezor/transport

Version:

Low level library facilitating protocol buffers based communication with Trezor devices

14 lines 486 B
export type HttpRequestOptions = { body?: Array<any> | Record<string, unknown> | string; url: string; method: 'POST' | 'GET'; skipContentTypeHeader?: boolean; signal?: AbortSignal; timeout?: number; }; export declare function bridgeApiCall(options: HttpRequestOptions): Promise<{ success: false; error: string; message: string | undefined; } | import("../types").Success<string | Record<string, unknown>>>; //# sourceMappingURL=bridgeApiCall.d.ts.map