STX Testnet tokens

Delivers testnet STX tokens to a specified address.

POST

Parameters

Query Parameters

address
string A valid testnet STX address
stacking
boolean Request the amount of STX tokens needed for individual address stacking

Body

application/json
any
Status codeDescription
200POST request that initiates a transfer of tokens to a specified testnet address
4XXDefault Response
cURL
curl -L -X POST \
"https://api.hiro.so/extended/v1/faucets/stx?address=ST3M7N9Q9HDRM7RVP1Q26P0EE69358PZZAZD7KMXQ&stacking={stacking}" \
-H 'Accept: application/json'
Response
{
"success": false,
"txId": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"txRaw": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

How is this guide?