Assets
Bitpowr currently supports over 30 assets across multiple blockchains and includes native assets of each blockchains, ERC 20, TRC20, Bep20 tokens, SPL tokens, Stellar trustline 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 it basically 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:
- Default Asset: Supports all blockchain and used in deriving EOA addresses.
- Contract Asset: Supports only EVM and TVM chains and are used in generating and manage contract addresses
Adding an asset
In order to start working with Asset, you must have setup an Account or Wallet. If you have not read here on how to.
Once thats settled, you can either an asset via the API or Dashboard. To add via the Dashboard, read here.
To create via the API, look at the curl command below:
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"
}'
curl --request GET \
--url https://developers.bitpowr.com/api/v1/assets?accountId=<accountId> \
-H 'content-type: application/json'
-H 'authorization: Bearer <encodedToken>'
API Reference
You can view the API reference for interacting with Assets.
Updated 5 months ago