UNPKG

@tech-bureau/mijin-catapult-tools

Version:

This tool is for easy operation of mijin Catapult(v.2)

31 lines 1.29 kB
import { Account, AccountInfo, AccountRepository, Address, NetworkCurrencies, NetworkType, PublicAccount } from '@tech-bureau/symbol-sdk'; export default class AccountServices { constructor(); static generate(networkType: NetworkType): Account; static createPublicAccount(publicKey: string, networkType: NetworkType): PublicAccount; static createAccount(privateKey: string, networkType: NetworkType): Account; static createAddress(address: string): Address; static createPublicAccountArray(publicKeys: string[], networkType: NetworkType): Address[]; static addressInfo(address: Address, accountRepository: AccountRepository): Promise<AccountInfo>; static accountInfo(account: AccountInfo, currency: NetworkCurrencies): { publicKey: string; address: string; mosaics: { id: string; amount: string; currency: boolean | undefined; harvest: boolean | undefined; }[]; keylink: { vrf: { publicKey: string; }; voting: { publicKey: string; startEpoch: string | number; endEpoch: string | number; }; }; }; } //# sourceMappingURL=AccountServices.d.ts.map