UNPKG

dotbit

Version:

A complete .bit SDK and utilities in TypeScript

17 lines (16 loc) 714 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); subAccounts(params?: Omit<SubAccountListParams, 'account'>): any; checkSubAccounts(subAccounts: SubAccountMintParams[]): any; mintSubAccounts(): any; mintSubAccount(): any; changeOwner(keyInfo: KeyInfo): any; changeManager(keyInfo: KeyInfo): any; updateRecords(records: BitAccountRecord[]): any; }