src/main/java/convex/java/Convex.java
/**
	 * Asynchronously submit a transaction
	 * @param hash
	 * @return
	 */
Asynchronously submit a transaction
@param hash
@return
Asynchronously submit a transaction @param hash @return
private CompletableFuture<Map<String,Object>> submitAsync(Hash hash) {
		ASignature sd=getKeyPair().sign(hash);
		HashMap<String,Object> req=new HashMap<>();
		req.put("address", getAddress().longValue());
		req.put("hash", hash.toHexString());
		req.put("accountKey", getKeyPair().getAccountKey().toHexString());
		req.put("sig", sd.toHexString());
		String json=JSON.toPrettyString(req);
		return doPostAsync(url+"/api/v1/transaction/submit",json);
	}
private CompletableFuture < Map < String , Object > > submitAsync ( Hash hash ) { ASignature sd = getKeyPair ( ) . sign ( hash ) ; HashMap < String , Object > req = new HashMap < > ( ) ; req . put ( "address" , getAddress ( ) . longValue ( ) ) ; req . put ( "hash" , hash . toHexString ( ) ) ; req . put ( "accountKey" , getKeyPair ( ) . getAccountKey ( ) . toHexString ( ) ) ; req . put ( "sig" , sd . toHexString ( ) ) ; String json = JSON . toPrettyString ( req ) ; return doPostAsync ( url + "/api/v1/transaction/submit" , json ) ; }
Asynchronously submit a transaction
 @param hash
 @return
Asynchronously submit a transaction @param hash @return
// System.out.println("Submitting:\n "+json);