@helium/http
Version:
HTTP library for interacting with the Helium blockchain API
19 lines • 619 B
TypeScript
import type Client from '../Client';
import Account, { AccountStats } from '../models/Account';
import ResourceList from '../ResourceList';
interface ListParams {
cursor?: string;
}
export default class Accounts {
private client;
constructor(client: Client);
fromAddress(address: string): Account;
list(params?: ListParams): Promise<ResourceList<Account>>;
listRich(): Promise<ResourceList<Account>>;
get(address: string, params?: {
maxBlock?: number;
}): Promise<Account>;
getStats(address: string): Promise<AccountStats>;
}
export {};
//# sourceMappingURL=Accounts.d.ts.map