// Copyright 2017-2019 @polkadot/app-123code authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import BN from 'bn.js'; import React from 'react'; import { Button, InputAddress, InputBalance } from '@polkadot/ui-app/index'; import TxButton from './TxButton'; type Props = { accountId?: string }; type State = { amount?: BN; recipientId?: string; }; export default class Transfer extends React.PureComponent { state: State = {}; render () { const { accountId } = this.props; const { amount, recipientId } = this.state; return (

transfer

Make a transfer from any account you control to another account. Transfer fees and per-transaction fees apply and will be calculated upon submission.
); } private onChangeAmount = (amount?: BN): void => { this.setState({ amount }); } private onChangeRecipient = (recipientId?: string): void => { this.setState({ recipientId }); } }