Class BlockchainGeneratorController

java.lang.Object
app.keyconnect.server.controllers.BlockchainGeneratorController

@RestController
public class BlockchainGeneratorController
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    BlockchainGeneratorController​(BlockchainGatewayFactory blockchainGatewayFactory)  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.http.ResponseEntity<AccountTransaction> generatePayment​(java.lang.String sourceAccount, java.lang.String destinationAccount, int destinationTag, java.lang.String amountInDrops, java.lang.String feeInDrops, java.lang.String network)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BlockchainGeneratorController

      @Autowired public BlockchainGeneratorController​(BlockchainGatewayFactory blockchainGatewayFactory)
  • Method Details

    • generatePayment

      @GetMapping(path="/v1/blockchains/xrp/generator/payment", produces="application/json") public org.springframework.http.ResponseEntity<AccountTransaction> generatePayment​(@RequestParam("sourceAccount") java.lang.String sourceAccount, @RequestParam("destinationAccount") java.lang.String destinationAccount, @RequestParam(value="destinationTag",required=false) int destinationTag, @RequestParam("amount") java.lang.String amountInDrops, @RequestParam(value="fee",required=false) java.lang.String feeInDrops, @RequestParam(value="network",required=false) java.lang.String network) throws UnknownNetworkException
      Throws:
      UnknownNetworkException