UNPKG

@dappykit/sdk

Version:

Web3 SDK for DApps

16 lines (15 loc) 418 B
import { UserInfo } from './user/interface'; import { HttpClient } from '../http-client/http-client'; /** * Methods for users */ export declare class GatewayUser { readonly httpClient: HttpClient; readonly version = "1"; constructor(httpClient: HttpClient); /** * Gets the user info by address * @param address Address of the user */ getInfo(address: string): Promise<UserInfo>; }