Back

Obtain STX Tokens For Testnet

Network

2 min

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:

  1. Head to the Stacks Explorer Sandbox page

  2. Click “Connect Stacks Wallet” and select your Leather testnet wallet

  3. Select “Request STX”

  4. 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.”

Related Guides


This article was updated on 25/3/24

This article was updated on 25/3/24