Create Stellar Wallets

This endpoint allows you to create Stellar wallets.

To create a Stellar wallet for a user, the /wallet/create-stellar-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 'Stellar' to indicate the wallet should be created on the Stellar blockchain.

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

Request Body

NameTypeDescription

userEmail*

Required

blockChainSupported*

String

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

The wallet creation API request will return a wallet address that can send and receive XLM on the Stellar blockchain.

Specifically, the response will contain:

  • walletAddress - The public Stellar address tied to the created wallet.

  • asset - XLM, the supported token on this wallet

Once a wallet is created successfully, users can top up the address by depositing XLM tokens on Stellar.

Last updated