12 : Identify a Stellar Classic Asset using stellar-sdk.
How can we know if a specific asset is a Stellar Classic Asset?
Create an asset:
This will return:
From a SYMBOL:ISSUER address
1.- See if the combination have a correct format:
This will create an asset object. If either the asset_code or the asset_issuer are not in a good format, this will fail.
Test with:
See if the asset exist?
Can we know if for an asset we have totalSupply or something?
Can we use this in stellar-sdk?
From a wrapped asset contract address
Previous11 : Use the native token (XLM) inside a smart contract.Next13 : Wrap an asset using stellar-sdk.
Last updated