export class Recipient { constructor ( destinationAddress , amount ) { this . destinationAddress = destinationAddress ; this . amount = amount ; } destinationAddress : string ; amount : string ; } export class Transaction { constructor ( public walletName , public accountName , public password , destinationAddress , public amount , public feeAmount , public allowUnconfirmed , public shuffleOutputs , public opReturnData ? , public opReturnAmount ? , public changeAddress ? , public isSideChainTransaction ? ) { this . recipients = [ new Recipient ( destinationAddress , amount ) ] ; } public recipients : Recipient [ ] ; public sender : string ; } export class FeeTransaction extends Transaction { feeType : string ; }