Skip to main content
POST
/
mint-usd
Mint USD testnet tokens
curl --request POST \
  --url https://api.tokenlayer.network/mint-usd \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "chainSlug": "base-sepolia",
  "userAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
  "amount": 100000
}
'
{
  "success": true,
  "transaction": {
    "to": "0x3Ea905bE91e23876a0DAd8ee62fBBee63B7FBDeb",
    "data": "0x449a52f8...",
    "value": "0",
    "gasLimit": "100000",
    "chainType": "evm",
    "chainId": "eip155:84532"
  }
}

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
chainSlug
enum<string>
required

Blockchain identifier. Supported chains: solana, solana-devnet, arbitrum, base, base-sepolia, avalanche, op-bnb, bnb, bnb-testnet, ethereum, monad, unichain, unichain-testnet, abstract, polygon, zksync, zksync-testnet

Available options:
solana,
solana-devnet,
arbitrum,
base,
base-sepolia,
avalanche,
op-bnb,
bnb,
bnb-testnet,
ethereum,
monad,
unichain,
unichain-testnet,
abstract,
polygon,
zksync,
zksync-testnet
Example:

"base-sepolia"

userAddress
string
required

User wallet address to mint tokens to

Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

amount
integer
default:100000

Amount of USD to mint (defaults to 100,000)

Required range: x > 0
Example:

100000

Response

Successful response

success
enum<boolean>
required
Available options:
true,
false
transaction
object
required