export class Recipient { constructor ( destinationAddress , amount ) { this . destinationAddress = destinationAddress ; this . amount = amount ; } destinationAddress : string ; amount : string ; } export class SidechainFeeEstimation { constructor ( walletName , accountName , federationAddress , destinationAddress , amount , feeType , allowUnconfirmed ) { this . walletName = walletName ; this . accountName = accountName ; this . recipients = [ new Recipient ( federationAddress , amount ) ] ; this . opreturndata = destinationAddress ; this . feeType = feeType ; this . allowUnconfirmed = allowUnconfirmed ; } walletName : string ; accountName : string ; recipients : Recipient [ ] ; opreturndata : string ; feeType : string ; allowUnconfirmed : boolean ; }