mirror of
https://github.com/luxfi/wc-utils.git
synced 2026-10-30 15:12:37 +00:00
8 lines
456 B
TypeScript
8 lines
456 B
TypeScript
import { IJsonRpcResponseSuccess, IJsonRpcResponseError, IJsonRpcErrorMessage } from "@luxwallet/wc-types";
|
|
export declare function promisify(originalFn: (...args: any[]) => void, thisArg?: any): (...callArgs: any[]) => Promise<IJsonRpcResponseSuccess | IJsonRpcResponseError>;
|
|
export declare function formatRpcError(error: Partial<IJsonRpcErrorMessage>): {
|
|
code: number;
|
|
message: string;
|
|
data?: string;
|
|
};
|
|
//# sourceMappingURL=payload.d.ts.map
|