UNPKG

dotbit-sdk-allin

Version:

A complete .bit SDK and utilities in TypeScript

18 lines (17 loc) 765 B
import { BitAccount, BitAccountOptions } from './BitAccount'; import { BitAccountRecord, KeyInfo } from './fetchers/BitIndexer.type'; import { SubAccountListParams, SubAccountMintParams } from './fetchers/SubAccountAPI'; export declare class BitSubAccount extends BitAccount { #private; isSubAccount: boolean; mainAccount: string; constructor(options: BitAccountOptions); enableSubAccount(): null; subAccounts(params?: Omit<SubAccountListParams, 'account'>): null; checkSubAccounts(subAccounts: SubAccountMintParams[]): null; mintSubAccounts(): null; mintSubAccount(): null; changeOwner(keyInfo: KeyInfo): any; changeManager(keyInfo: KeyInfo): any; updateRecords(records: BitAccountRecord[]): any; }