Skip to main content

Testnet Faucet (Arbitrum Sepolia)

Description​

Query faucet eligibility or claim a one-time grant of 1,000 Mock USDT directly to your connected EVM wallet on Arbitrum Sepolia (chain_id: 421614).

  • Web UI: When your wallet is connected to Arbitrum Sepolia, open Faucet (https://app.ztdxtest.xyz/faucet) from the top navigation bar.
  • Limit: Strictly one claim per wallet address (enforced atomically in database). No gas is required from the user — the custody relayer sends the ERC-20 transfer directly to the authenticated EVM wallet address.
  • Token: Mock USDT (0xe125f700924e33b77f3343a9dd8aac7c24b4f68e, 6 decimals) on Arbitrum Sepolia (421614).

HTTP Request​

  • Check status: GET /api/v1/faucet/status (Bearer JWT)
  • Claim tokens: POST /api/v1/faucet/claim (Bearer JWT)

Authentication​

Requires a valid wallet login Bearer JWT (Authorization: Bearer <token>). The recipient address is taken from the authenticated EVM wallet identity (Solana accounts are rejected with 403 SOLANA_ACCOUNT_USE_SPOT_WITHDRAWAL).

Response Example (GET /api/v1/faucet/status)​

{
"success": true,
"chain_id": 421614,
"token_symbol": "USDT",
"token_address": "0xe125f700924e33b77f3343a9dd8aac7c24b4f68e",
"decimals": 6,
"amount": "1000",
"eligible": true,
"claimed": false,
"status": "eligible",
"tx_hash": null,
"claimed_at": null
}

Response Example (POST /api/v1/faucet/claim)​

Returns HTTP 200 when the on-chain transaction is already confirmed, or HTTP 202 if broadcast and awaiting confirmation:

{
"success": true,
"chain_id": 421614,
"token_symbol": "USDT",
"token_address": "0xe125f700924e33b77f3343a9dd8aac7c24b4f68e",
"decimals": 6,
"amount": "1000",
"status": "confirmed",
"tx_hash": "0x...",
"claimed_at": 1795350000
}

Error Codes​

HTTP StatuscodeReason
401UNAUTHORIZEDMissing or expired Bearer JWT.
403SOLANA_ACCOUNT_USE_SPOT_WITHDRAWALAuthenticated identity is a Solana wallet rather than an EVM wallet.
409FAUCET_ALREADY_CLAIMEDThis wallet has already claimed 1,000 Mock USDT (response includes original tx_hash and claimed_at).
409FAUCET_CLAIM_IN_PROGRESSA faucet claim transaction is currently in flight for this wallet.
503CUSTODY_RETRY_OR_INSPECT_HISTORYFaucet relayer or RPC temporarily unavailable; check GET /api/v1/faucet/status before retrying.

Code Example (cURL)​

TOKEN="your_wallet_jwt"

# 1. Check eligibility
curl -s -H "Authorization: Bearer ${TOKEN}" \
"https://api.ztdxtest.xyz/api/v1/faucet/status"

# 2. Claim 1,000 Mock USDT to your wallet on Arbitrum Sepolia
curl -s -X POST -H "Authorization: Bearer ${TOKEN}" \
"https://api.ztdxtest.xyz/api/v1/faucet/claim"