Back
Obtain STX Tokens For Testnet
Network
Stacks developers will often need STX tokens to test the applications they’re building. After installing the testnet version of Leather, developers will have access to a number of different ways for obtaining STX. You can also obtain testnet STX by switching your wallet over to the “testnet” network in Leather.
How to Obtain STX from the Stacks Explorer Sandbox
To obtain STX from the Stacks Explorer Sandbox:
Head to the Stacks Explorer Sandbox page
Click “Connect Stacks Wallet” and select your Leather testnet wallet
Select “Request STX”
STX will be sent to your testnet wallet
How to Obtain STX from the Stacks Blockchain API
To obtain STX via the Stacks Blockchain API, use this API call but replace the Stacks address at the end with your own testnet wallet address:
If you need a larger amount, you’ll need to adapt the last portion of the link to say “true” instead of “false.”