curl --request POST \
--url https://sandbox.groundtech.co/v2/sandbox/faucets/usdt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"address": "0x1111111111111111111111111111111111111111",
"amount": "25.000000"
}
'import requests
url = "https://sandbox.groundtech.co/v2/sandbox/faucets/usdt"
payload = {
"address": "0x1111111111111111111111111111111111111111",
"amount": "25.000000"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({address: '0x1111111111111111111111111111111111111111', amount: '25.000000'})
};
fetch('https://sandbox.groundtech.co/v2/sandbox/faucets/usdt', 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://sandbox.groundtech.co/v2/sandbox/faucets/usdt",
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([
'address' => '0x1111111111111111111111111111111111111111',
'amount' => '25.000000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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://sandbox.groundtech.co/v2/sandbox/faucets/usdt"
payload := strings.NewReader("{\n \"address\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"25.000000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
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://sandbox.groundtech.co/v2/sandbox/faucets/usdt")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"25.000000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/sandbox/faucets/usdt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"25.000000\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "requested",
"chain": "ethereum_sepolia",
"token": "usdt",
"address": "<string>",
"amount": "<string>",
"transactionHash": "<string>",
"failureCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"confirmedAt": "2023-11-07T05:31:56Z"
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "requested",
"chain": "ethereum_sepolia",
"token": "usdt",
"address": "<string>",
"amount": "<string>",
"transactionHash": "<string>",
"failureCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"confirmedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "invalid_address"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "<string>",
"code": "invalid_address"
}{
"error": "Rate limit exceeded",
"code": "rate_limited"
}{
"error": "<string>",
"code": "invalid_address"
}Request sandbox mock USDT
Requests mock USDT for an Ethereum Sepolia wallet. Available only in sandbox. Check the request until it is confirmed or failed.
curl --request POST \
--url https://sandbox.groundtech.co/v2/sandbox/faucets/usdt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"address": "0x1111111111111111111111111111111111111111",
"amount": "25.000000"
}
'import requests
url = "https://sandbox.groundtech.co/v2/sandbox/faucets/usdt"
payload = {
"address": "0x1111111111111111111111111111111111111111",
"amount": "25.000000"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({address: '0x1111111111111111111111111111111111111111', amount: '25.000000'})
};
fetch('https://sandbox.groundtech.co/v2/sandbox/faucets/usdt', 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://sandbox.groundtech.co/v2/sandbox/faucets/usdt",
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([
'address' => '0x1111111111111111111111111111111111111111',
'amount' => '25.000000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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://sandbox.groundtech.co/v2/sandbox/faucets/usdt"
payload := strings.NewReader("{\n \"address\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"25.000000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
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://sandbox.groundtech.co/v2/sandbox/faucets/usdt")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"25.000000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/sandbox/faucets/usdt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"25.000000\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "requested",
"chain": "ethereum_sepolia",
"token": "usdt",
"address": "<string>",
"amount": "<string>",
"transactionHash": "<string>",
"failureCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"confirmedAt": "2023-11-07T05:31:56Z"
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "requested",
"chain": "ethereum_sepolia",
"token": "usdt",
"address": "<string>",
"amount": "<string>",
"transactionHash": "<string>",
"failureCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"confirmedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "invalid_address"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "<string>",
"code": "invalid_address"
}{
"error": "Rate limit exceeded",
"code": "rate_limited"
}{
"error": "<string>",
"code": "invalid_address"
}depositAddresses.ethereum_sepolia
address, then poll the returned request ID until it is confirmed or failed.
Use a new UUID v4 Idempotency-Key for each intended transfer. Reusing the key
returns the original request without sending another transfer.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Client-generated UUID v4. Reusing it with the same request returns the existing transfer; reusing it with different input returns 409.
Body
Nonzero EVM address that will receive mock USDT on Ethereum Sepolia.
"0x1111111111111111111111111111111111111111"
Mock USDT amount as a decimal string. Must be greater than zero and no more than 100, with up to six decimal places.
^(?:0|[1-9][0-9]*)(?:\.[0-9]{1,6})?$"25.000000"
Response
Existing faucet transfer returned for an idempotent replay.
requested, processing, submitted, confirmed, failed ethereum_sepolia usdt EVM address receiving the mock USDT.
Requested mock USDT amount with six decimal places.
^[0-9]+\.[0-9]{6}$Ethereum Sepolia transaction hash once submitted.
Machine-readable failure code when status is failed.