src/main/java/convex/java/Convex.java
/**
	 * Request funds from the test network via the Faucet API.
	 * 
	 * @param address Destination address to get requested funds
	 * @param requestedAmount Requested amount of funds in CC
	 * @return Result of query, as parsed JSON Object from query response
	 */
Request funds from the test network via the Faucet API.

@param address Destination address to get requested funds
@param requestedAmount Requested amount of funds in CC
@return Result of query, as parsed JSON Object from query response
Request funds from the test network via the Faucet API . @param address Destination address to get requested funds @param requestedAmount Requested amount of funds in CC @return Result of query as parsed JSON Object from query response
public Map<String,Object> faucet(Address address, long requestedAmount) {
		HashMap<String,Object> req=new HashMap<>();
		req.put("address", address.longValue());
		req.put("amount", requestedAmount);
		String json=JSON.toPrettyString(req);
		return doPost(url+"/api/v1/faucet",json);
	}
public Map < String , Object > faucet ( Address address , long requestedAmount ) { HashMap < String , Object > req = new HashMap < > ( ) ; req . put ( "address" , address . longValue ( ) ) ; req . put ( "amount" , requestedAmount ) ; String json = JSON . toPrettyString ( req ) ; return doPost ( url + "/api/v1/faucet" , json ) ; }
Request funds from the test network via the Faucet API.
Request funds from the test network via the Faucet API .