UNPKG

@oraichain/customauth

Version:

CustomAuth login with torus to get user private key

10 lines (9 loc) 386 B
export interface QueryTags { [key: string]: string | number; } export declare function fromRPCtoWebsocket(url: string): string; export type SubcribeRespone = QueryTags & { txHash: string; }; export declare const conditionTransform: (queryTags: QueryTags) => string; export declare const subscribeTx: (url: string, tags: QueryTags, timeout?: number) => Promise<SubcribeRespone>;