- transferBalance(api, fromAccount, toAddress, amount, allowDeath?, statusCb?): Promise<TransferBalanceResult>
Parameters
- api: ApiPromise
- fromAccount: string | IKeyringPair
- toAddress: string | AccountId
- amount:
| string
| number
| bigint
| BN Optional
allowDeath: booleanOptional
statusCb: ((result: ISubmittableResult) => void | Promise<void>)- (result): void | Promise<void>
Parameters
- result: ISubmittableResult
Returns void | Promise<void>
Transfers a given amount of tokens from one account to another.