Create Solana Wallets

This endpoint allows you to create Solana wallets.

To create a Bitcoin wallet for a user, the /wallet/create-solana-wallet API endpoint requires two parameters in the request:

  1. userEmail - The email address of the user for which you want to create the wallet. This links the wallet to their account.

  2. blockChainSupported - Specify ''Solana" to indicate the wallet should be created on the Solana blockchain.

POST https://dev-api.altra.click/wallet/create-solana-wallet

Request Body

NameTypeDescription

userEmail*

Required

blockChainSupported*

String

// Create Bitcoin wallet for user
{  
      "userEmail": "user@gmail.com"
      "blockChainSupported": "Solana" 
}

The wallet creation API request will return a wallet address that can send and receive Solana, USDC and USDT on the Solana blockchain.

Specifically, the response will contain:

  • walletAddress - The public Polygon address tied to the created wallet

  • asset - Sol, USDC and USDT are the supported token on this wallet

Once a wallet is created successfully, users can top up the address by depositing any of the supported tokens.

Last updated