@goldsb/wc-utils
Version:
Utility Library for WalletConnect
7 lines • 438 B
TypeScript
import { IJsonRpcResponseSuccess, IJsonRpcResponseError, IJsonRpcErrorMessage } from "@walletconnect/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;
};
//# sourceMappingURL=payload.d.ts.map