Bitpowr currently supports over 30 assets across multiple blockchains, including native assets of each blockchain, ERC 20, TRC20, Bep20 tokens, SPL tokens, Stellar trusting assets, etc.

📘

Check out this link to know the asset and blockchain that we currently support on Bitpowr.

You can always request for any token thats not supported by default on any of the blockchains we currently support.

What is an Asset

Asset in Bitpowr is a simple representation of a digital assets, virtual and crypto currencies. It represents your portfolio and holdings in a particular wallet.

At its core it's either a Multi HD Key derived from a seed or random bytes when working with on chain assets. It holds the Public Key of an HD wallet used in deriving child addresses.

We currently support two types of Assets:

  1. Default Asset: Supports all blockchain and used in deriving EOA addresses.
  2. Contract Asset: Supports only EVM and TVM chains and are used in generating and manage contract addresses

Adding an asset

Before you begin managing assets, ensure that you have set up an account or wallet. If you haven’t done so yet, follow the steps outlined in the Bitpowr documentation.

Once your account or wallet is set up, you have two options for adding assets:

Dashboard

  1. Open the Vault:
    Click on the “Vault” section in your Bitpowr account. This is where you manage your assets.
  2. Access Accounts:
    Within the Vault, locate and click on the “Accounts” option. This will take you to the account management page.
  3. Create a New Asset:
    Look for a white arrow inside a blue circle (pointing to the right). Click on it.
    This action will open a new page where you’ll find the option to create a new asset.
  1. Select Desired Assets:
    On the asset creation page, you’ll see a dropdown menu. Select your desired asset from the available options.
  2. Click “Create”:
    Click the “Create” button to add the selected asset to your account.

API

  1. Adding an Asset

To add an asset via the Bitpowr API, follow these steps:

  • Get Your API Token:
    Obtain your API token from Bitpowr. You’ll need this token for authentication.
  • Compose the Curl Command:
    Use the following curl command to add an asset:
curl --request POST  
     --url <https://developers.bitpowr.com/api/v1/assets>  
     -H 'content-type: application/json'  
     -H 'authorization: Bearer <encodedToken>'  
     -d '{  
        "label": "my asset",  
        "asset": "ETH",  
        "accountId": "my account id"  
      }'

Parameters:

ParameterDescription
labelFull name for the new asset.
assetThe type of cryptocurrency (e.g., "ETH" for Ethereum).
accountIdThe ID of the Bitpowr account where you want to create the asset.

  1. Getting Account Assets

To retrieve account assets, follow these steps:
Use the following curl command to get account assets:

curl --request GET  
     --url "<https://developers.bitpowr.com/api/v1/assets?accountId=><accountId>"  
     -H 'content-type: application/json'  
     -H 'authorization: Bearer <encodedToken>'

📘

Replace <accountId> with the actual account ID you’re interested in.

Again, use your valid API token.

API Reference

You can view the API reference for interacting with Assets.


What’s Next