Request Testnet USDC
curl --request POST \
--url https://api.convallax.com/faucet \
--header 'Content-Type: application/json' \
--data '
{
"wallet": "0xTrader0000000000000000000000000000000000"
}
'import requests
url = "https://api.convallax.com/faucet"
payload = { "wallet": "0xTrader0000000000000000000000000000000000" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({wallet: '0xTrader0000000000000000000000000000000000'})
};
fetch('https://api.convallax.com/faucet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.convallax.com/faucet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'wallet' => '0xTrader0000000000000000000000000000000000'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.convallax.com/faucet"
payload := strings.NewReader("{\n \"wallet\": \"0xTrader0000000000000000000000000000000000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.convallax.com/faucet")
.header("Content-Type", "application/json")
.body("{\n \"wallet\": \"0xTrader0000000000000000000000000000000000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.convallax.com/faucet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"wallet\": \"0xTrader0000000000000000000000000000000000\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"amount": 1000,
"txHash": "0xabc123...",
"message": "Sent 1000 USDC to 0xTrader..."
}{
"success": true,
"error": "Quote request not found or expired"
}{
"success": true,
"error": "Quote request not found or expired"
}{
"success": true,
"error": "Quote request not found or expired"
}{
"success": true,
"error": "Quote request not found or expired"
}Testnet
Request Testnet USDC
Drip testnet USDC to a wallet on Polygon Amoy for testing.
POST
/
faucet
Request Testnet USDC
curl --request POST \
--url https://api.convallax.com/faucet \
--header 'Content-Type: application/json' \
--data '
{
"wallet": "0xTrader0000000000000000000000000000000000"
}
'import requests
url = "https://api.convallax.com/faucet"
payload = { "wallet": "0xTrader0000000000000000000000000000000000" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({wallet: '0xTrader0000000000000000000000000000000000'})
};
fetch('https://api.convallax.com/faucet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.convallax.com/faucet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'wallet' => '0xTrader0000000000000000000000000000000000'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.convallax.com/faucet"
payload := strings.NewReader("{\n \"wallet\": \"0xTrader0000000000000000000000000000000000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.convallax.com/faucet")
.header("Content-Type", "application/json")
.body("{\n \"wallet\": \"0xTrader0000000000000000000000000000000000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.convallax.com/faucet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"wallet\": \"0xTrader0000000000000000000000000000000000\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"amount": 1000,
"txHash": "0xabc123...",
"message": "Sent 1000 USDC to 0xTrader..."
}{
"success": true,
"error": "Quote request not found or expired"
}{
"success": true,
"error": "Quote request not found or expired"
}{
"success": true,
"error": "Quote request not found or expired"
}{
"success": true,
"error": "Quote request not found or expired"
}Request testnet USDC for a wallet on Polygon Amoy. The relay transfers USDC from the faucet pool to the specified address.
The faucet drips 1,000 USDC per request by default. Each wallet is rate-limited to one request per 24 hours — requests within the cooldown return
429.The faucet requires on-chain environment variables to be configured on the relay. If not configured, the endpoint returns
503.Was this page helpful?
⌘I
