Files
2024-07-26 16:02:04 +10:00

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