Constructors
constructor
- new AuthQuerier(url): AuthQuerier
Properties
Private
url
url: string
Methods
account
- account(req, headers?): Promise<{
account?: Account;
}> Parameters
req: QueryAccountRequest
Optional
headers: HeadersInit
Returns Promise<{
account?: Account;
}>
accounts
- accounts(req, headers?): Promise<{
accounts?: Account[];
pagination?: PageResponse;
}> Parameters
req: QueryAccountsRequest
Optional
headers: HeadersInit
Returns Promise<{
accounts?: Account[];
pagination?: PageResponse;
}>
moduleAccountByName
- moduleAccountByName(req, headers?): Promise<{
account?: Account;
}> Parameters
req: QueryModuleAccountByNameRequest
Optional
headers: HeadersInit
Returns Promise<{
account?: Account;
}>
params
- params(req, headers?): Promise<QueryParamsResponse>
Parameters
req: QueryParamsRequest
Optional
headers: HeadersInit
Returns Promise<QueryParamsResponse>
AuthQuerier is the query interface for the x/auth module