Function transferFullBalance
- transferFullBalance(api, fromAccount, toAddress, keepAlive?, statusCb?): Promise<TransferBalanceResult>
Parameters
- api: ApiPromise
- fromAccount: string | IKeyringPair
- toAddress: string | AccountId
Optional
keepAlive: booleanOptional
statusCb: ((result: ISubmittableResult) => void | Promise<void>)- (result): void | Promise<void>
Parameters
- result: ISubmittableResult
Returns void | Promise<void>
Transfers all available tokens from one account to another.