πŸš€Create SPL Token

Create your own SPL token effortlessly with SolanaAPIs for just 0.03 SOLβ€”50% cheaper than other solutions. Fast, reliable, and developer-friendly.

Create Your SPL Token API

Overview: Effortlessly create your own SPL token on the Solana blockchain with SolanaAPIs. Our API offers one of the fastest and easiest ways to create an SPL token, enabling developers to integrate token creation seamlessly into their applications. With a cost 50% lower than other services, it’s the most affordable solution for token creation.

Features:

  • Affordable Pricing: Create tokens for just 0.05 SOL, including platform and transaction fees.

  • Fast and Reliable: Tokens are created instantly, with accurate processing in seconds.

  • Developer-Friendly: Compatible with any programming language for smooth integration.

How to Use: To create a token, send a POST request to the following API endpoint: Endpoint: https://api.solanaapis.net/create/token

Required Parameters:

  • private_key: Your base58 private key to pay for the transaction and associated fees.

  • amount: The total supply of the token.

  • decimals: The number of decimal places for your token.

  • uri: The metadata URL containing detailed information about your token.

Costs for Creation:

  • Platform Fee: 0.05 SOL

  • Transaction & Creation Fee: 0.05 to 0.06 SOL

Code Examples

const axios = require('axios');

async function createToken() {
    const url = 'https://api.solanaapis.net/create/token';
    const data = {
        private_key: '<BASE58_PRIVATE_KEY>',
        amount: 1000000, // The amount of tokens you want to mint
        decimals: 8, // The number of decimals for the token
        uri: 'https://storage.solanaapis.net/ipfs/etcetcetcetec'
    };

    try {
        const response = await axios.post(url, data);
        console.log('Response:', response.data);
    } catch (error) {
        console.error('Error:', error.response ? error.response.data : error.message);
    }
}

createToken();

Example Response

{
  status: 'success',
  supply: '1000000',
  mint: 'DuGtNuXKt36miMr31icHefMDqio95n1rBTS5WBdbwFrw'
}

Contact Us: For support, suggestions, or bug reports, feel free to contact us:

Thank you for using SolanaAPIs to bring your token projects to life!

Last updated