@effectai/sdk
Version:
Effect Network Javscript/Typescript SDK (for [https://effect.network](https://effect.network))
14 lines (13 loc) • 543 B
TypeScript
import { type NameType, type UInt64Type } from "@wharfkit/antelope";
import type { Client } from "../../client";
import type { Account } from "../../@generated/types/vaccount.efx";
export type GetVAccountsArgs = {
client: Client;
actor: NameType;
};
export declare const getVAccounts: ({ client, actor, }: GetVAccountsArgs) => Promise<Account[]>;
export type GetAccountByIdArgs = {
client: Client;
accountId: UInt64Type;
};
export declare const getAccountById: ({ client, accountId, }: GetAccountByIdArgs) => Promise<Account>;